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 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.3.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for cdk_apex_cname-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1e954464cf13c08ba5fafb1ecd4069b38d145785e79b2b7a9eea2a9b4442c4 |
|
MD5 | 8fffc9ffa513cca8406011b90168890c |
|
BLAKE2b-256 | cb7a519c7f06c1fff55b6b283b25ee2947a034f109b0619b8ab85d9cb3c6fc52 |