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
File details
Details for the file smtp-credentials-cdk-construct-1.0.1.tar.gz
.
File metadata
- Download URL: smtp-credentials-cdk-construct-1.0.1.tar.gz
- Upload date:
- Size: 61.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.0 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23c165399a4398b83218537fa0709f86ac90baefab1f0ca4643fe864d40f5cc9 |
|
MD5 | 0f268b7991beff7dedc36459a032c6cc |
|
BLAKE2b-256 | 0dee0227ccd26a59305bd07c523f563e83a6b40b82962a99196fb7c20ad29ba1 |
File details
Details for the file smtp_credentials_cdk_construct-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: smtp_credentials_cdk_construct-1.0.1-py3-none-any.whl
- Upload date:
- Size: 61.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.0 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a02918f55790c4e0d6b5bbdc91e2ac93440be33b721171b4f46500145757583e |
|
MD5 | 7c54e48a0455b96967bc5c9270138808 |
|
BLAKE2b-256 | 8e30f56a35ceeafc5f62490c1f98d5c55d914c9c700f9f1d2d993111f0436ca1 |