CDK construct to allow setting an apex record to a cname
Project description
CDK Apex Cname - Route53
A CDK utility construct that allows you to set an domain apex (in Route53) to redirect to a cname records 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 maskerade.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.2.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for cdk_apex_cname-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df59bc5d6f87cfb941381403a7cfbc61b657d73aa059118341bc430b9db91f70 |
|
MD5 | 582245810ae9650f6f083cf642fe6a30 |
|
BLAKE2b-256 | 8d5bc80d123b03113b24da7baa50c412366e1479e1d9715f3b9c85bfb2266f49 |