@malanius/cdk-verified-ses-identity
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

CKD Verified SES identity

This construct library allows you to create SES identity with identity and DKIM verification records under a hosted zone in Route53.

Requirements

Any domain identity you're creating and verifying with this construct must be under already existing hosted zone in Route53. Domains hosted anywhere else are not supported.

Usage

  1. Install the construct library:

    npm i @malanius/cdk-verified-ses-identity
  2. Import the construct:

    import {VerifiedSESIdentity} from '@malanius/cdk-verified-ses-identity';
  3. Use the construct in your stack:

    const identity = new VerifiedSESIdentity(this, 'Identity', {
      // Hosted zone domain name under which the verification records are created
      baseDomain: 'example.xyz',
      // Optional, will be prepednded to base domain name, i.e. mail.example.xyz
      domainPrefix: 'mail',
    });

Interesting points

  • update of the identity is handled by creation and verification of new identity and returned to CFN, when the outputed physical ID returned from custom resource handler differs from the previous one CFN automatically calls the delete operation with previous physical ID

Note on versioning

For CDK v1, this construct version followed CDK version due to occuring discrepancies between module versions used nd CDK app and this construct. This could happen when app was initialized on certain version and this module was instaled at later time. Since CDK v2 has all modules packed inside single package dependency, this can no longer happen so v2 of this construct lib specifies "aws-cdk-lib": "^2.0.0" only and doesn't follow the CDK version anymore and uses SemVer on it's own.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    5
    • latest

Version History

Package Sidebar

Install

npm i @malanius/cdk-verified-ses-identity

Weekly Downloads

5

Version

2.1.0

License

Apache-2.0

Unpacked Size

44.1 kB

Total Files

25

Last publish

Collaborators

  • malanius