AWS CDK Construct for Simple Email Service (SES) SMTP Credentials
This construct creates SES SMTP Credentials
Overview
- Creates an IAM user with a policy to send SES emails
- Uses a custom resource to generate then convert AWS credentials to SES SMTP Credentials
- Uploads the resulting SMTP credentials to AWS Secrets Manager
Usage examples
See API doc for full details
typescript example:
new SesSmtpCredentials(stack, 'SesSmtpCredentials', {
iamUserName: 'exampleUser',
});
Testing the generated credentials in the CLI
See this document from AWS for full details