If you'd prefer to build and upload the custom resource code from source, MySESEmailIdentity : Type : Custom::SES_EmailIdentity Properties : ServiceToken : !GetAtt EmailAddress : #. The Custom::SES_Domain and Custom::SES_EmailIdentity resource types are nowĪvailable to use like this (see Usage below for the full list of propertiesĪnd return values): MySESDomain : Type : Custom::SES_Domain Properties : ServiceToken : !GetAtt Domain : "" #. Then in your CloudFormation template, use a nested stack to create the Lambdaįunctions and IAM roles for the custom SES resource types:ĬfnSESResources : Type : AWS::CloudFormation::Stack Properties : TemplateURL : Parameters : LambdaCodeS3Bucket : YOUR_BUCKET LambdaCodeS3Key : This bucket needs to be readable from CloudFormation, but Releases page into an S3 bucket in the region where you'll be running yourĬloudFormation stack. The easiest way to do this is with a CloudFormation nested stack:Ĭopy the Lambda package andĪws-cfn-ses-domain-VERSION.cf.yaml CloudFormation template from this repository's IAM roles giving them permission to manage your Amazon SES domain/email identities. To use themįrom your CloudFormation templates, you'll need to set up the functions along with The custom SES resources are implemented as AWS Lambda Functions. Identities as you modify your CloudFormation stack. The custom resource implementations will properly create, update, and delete Amazon SES Similarly, you can use Custom::SES_EmailIdentity to verify individual email addresses SES's required DNS entries, so you can feed them directly into a standardĪWS::Route53::RecordSetGroup resource (or to another DNS provider if you're not It handles the SES domain verification calls and outputs You can use Custom::SES_Domain to verify domains for sending and/or receivingĮmail through Amazon SES. This package implements those missing types as CloudFormation Most needed to get going with SES: domain and email verification. AWS CloudFormation resources for Amazon SES domain and email identitiesĪWS CloudFormation provides several built-inĪmazon SES resource types, but is oddly missing the ones
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |