1.1.0 • Published 11 months ago

@builtonaws/fastmail-route53-constructs v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

@builtonaws/fastmail-route53-constructs

CDK constructs for adding Fastmail domain verification DNS records to your Route53-managed domain.

Usage

Install package:

npm install @builtonaws/fastmail-route53-constructs

Use FastmailDomainVerification construct:

import { FastmailDomainVerification } from "@builtonaws/fastmail-route53-constructs";
import * as cdk from "aws-cdk-lib";
import * as r53 from "aws-cdk-lib/aws-route53";
import type { Construct } from "constructs";

export class ExampleStack extends cdk.Stack {
  constructor(scope: Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    const hostedZone = new r53.PublicHostedZone(this, "PublicHostedZone", {
      zoneName: "example.com",
    });

    new FastmailDomainVerification(this, "FastmailDomainVerification", {
      domain: "example.com",
      hostedZone,
    });
  }
}
1.1.0

11 months ago

1.0.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago