※ This package was merged to cdk-ses-helpers.
CDK construct for Amazon SES SMTP credentials with Amazon Secrets Manager
import { SmtpSecret } from 'cdk-ses-smtp-secret';
const smtpSecret = new SmtpSecret(this, 'SmtpSecret');
This secret has the following values. Please use username
and password
to send emails over SMTP.
{
"access_key": "XXXXXXXXXXXXXXXXXXXXXX",
"secret_access_key": "XXXXXXXXXXXXXXXXXXXXXX",
"username": "XXXXXXXXXXXXXXXXXXXXXX",
"password": "XXXXXXXXXXXXXXXXXXXXXX",
"endpoint": "email-smtp.${region}.amazonaws.com"
}