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 @maskerade/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.1.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for cdk_apex_cname-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0adca4733fb3cbba6dc5b63cfd4fe11cf2896a58955aab73da235b5e4dd93a |
|
MD5 | 8610e384c1be14a78afc493679c079f3 |
|
BLAKE2b-256 | 2d91f8b8c284ab119f31c5ef58428cdd72870172e8a1f7b992137c7fc8ce6ffd |