A CDK construct that creates SMTP credentials permitting emails to be sent via SES.
Project description
SMTP Credentials CDK Construct
This construct creates an IAM user, with a policy permitting emails to be sent via SES from a specified email address, creates an access key associated with this user, and converts the access key to SMTP credentials.
The generated SMTP credentials are stored as a parameter in Parameter Store, and the name of this parameter is output as a CloudFormation output. The parameter may be safely deleted, once the credentials have been accessed.
Example Usage
See API.md for details on the exposed API.
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
SmtpCredentials(self, "SmtpCredentials",
email_address="me@charles.fish"
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for smtp-credentials-cdk-construct-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c213520adb15af5e482050f746e0b5762f113a16a3bb84c1cadd8dae63987fa |
|
MD5 | ebc2fe3dcd14c1b7096be604e9910b0e |
|
BLAKE2b-256 | a31cb4835ec956fa89bf52eb32c097488f73af0a4f13fd23558b9e2fee0006e5 |
Close
Hashes for smtp_credentials_cdk_construct-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bfcfa4aadcde5a37312d41ecf6ef8b21d9051f7a4c9a539cd47863439dd5e81 |
|
MD5 | 428257245c9ab9c0bef0d87e528ee6a1 |
|
BLAKE2b-256 | d78180bd00c87968c3f6e3a48caa86afc48c0d3a1ba774032d9f051682962eda |