cdk-ses-helpers
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

cdk-ses-helpers

SMTP Secret

CDK construct for Amazon SES SMTP credentials with Amazon Secrets Manager

import { SmtpSecret } from 'cdk-ses-helpers';

const smtpSecret = new SmtpSecret(this, 'SmtpSecret');

This secret has the following values. Please use username and password to send emails via SMTP.

{
    "access_key": "XXXXXXXXXXXXXXXXXXXXXX",
    "secret_access_key": "XXXXXXXXXXXXXXXXXXXXXX",
    "username": "XXXXXXXXXXXXXXXXXXXXXX",
    "password": "XXXXXXXXXXXXXXXXXXXXXX",
    "endpoint": "email-smtp.${region}.amazonaws.com"
}

Managed Identity

CDK construct to create managed identity of Amazon SES via Amazon WorkMail

import { ManagedIdentity } from 'cdk-ses-helpers';

const identity = new ManagedIdentity(stack, 'ManagedDomain', { subDomainName: 'hey-yo' });
const domainName = identity.domainName;  // return hey-yo.awsapps.com

/cdk-ses-helpers/

    Package Sidebar

    Install

    npm i cdk-ses-helpers

    Weekly Downloads

    69

    Version

    0.0.3

    License

    Apache-2.0

    Unpacked Size

    11.6 MB

    Total Files

    2212

    Last publish

    Collaborators

    • mats16