@renovosolutions/cdk-library-aws-ses-smtp-credentials
v0.0.110
Published
AWS CDK Construct Library for generating SMTP credentials for SES and storing them in Secrets Manager
Downloads
159
Readme
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