Open regiskuckaertz opened 6 years ago
It certainly looks possible - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
If you really want it defined in a separate file perhaps you can use AWS::Include
- https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html
Does the performance gain justify the extra work?
edit: i didn't mean to close the issue...
| Does the performance gain justify the extra work?
Definitely not a priority no, just something I can do in my spare time to squeeze time out of existing code 🤗
Amazon SES supports templates and they rock 🎸
I could drop the Twirl dependency and improve throughput, by doing the following:
sendBulkTemplatedEmailAsync
(😮 ) instead ofsendEmailAsync
The latter would only require ⎡length(users) / 50⎤ requests.
The question is, how do I create a template in a CF script? Is it possible to reference an external file?