Skip to main content

CDK construct to allow setting an apex record to a cname

Project description

CDK Apex Cname - Route53

A CDK utility construct to allowing setting an domain apex (in Route53) to resolve to a cname record of a resource not in Route 53.

Usage

Typescript

First install the package

npm install cdk-apex-cname

Then you can use the Apex CNAME in your code:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from cdk_apex_cname import CdkApexCname

CdkApexCname(self, "CdkApexCname",
    apex_name="apex.com",
    record_name="cname.example.com",
    hosted_zone_id="ZONE1234",
    apex_cname_rule_cron="cron(0 * ? * * *)"
)

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

cdk-apex-cname-0.1.4.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

cdk_apex_cname-0.1.4-py3-none-any.whl (12.7 kB view hashes)

Uploaded Python 3

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