Skip to main content

A CDK construct that creates SMTP credentials permitting emails to be sent via SES.

Project description

Charles Dot Fish

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smtp-credentials-cdk-construct-1.0.3.tar.gz (62.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file smtp-credentials-cdk-construct-1.0.3.tar.gz.

File metadata

  • Download URL: smtp-credentials-cdk-construct-1.0.3.tar.gz
  • Upload date:
  • Size: 62.3 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

Hashes for smtp-credentials-cdk-construct-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ab78f84c4256747c5224ca2dc1065f8145dce70b4743ab67549c0fd68a175168
MD5 75010bc1de3662d2a21359d7ee2df0c9
BLAKE2b-256 d1973a9c4691512e10e068ce8fc0e924653574370b642af8de25ad3a042e786f

See more details on using hashes here.

File details

Details for the file smtp_credentials_cdk_construct-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: smtp_credentials_cdk_construct-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 62.3 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

Hashes for smtp_credentials_cdk_construct-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 201b74cbb33d70b70b2c5e9d8c411892bf21b1ffd9ef626daf76fe21d6a60c36
MD5 bd2d72f75734fb961d4d142d1ab898c3
BLAKE2b-256 60062b52079857bfb13a3acf67de916361228e42a3729fc0790e4e10f5f3fd53

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page