1.2.0-rc-6 • Published 6 days ago
@ixor/aws-cdk-ixor-r53 v1.2.0-rc-6
aws-cdk-ixor-r53 module
Construct library to add Route53 Resource Records to a Hosted Zone
Introduction
This will only work with the Route53 setup and Custom CloudFormation resource at Ixor.
How to use
import {R53} from "@ixor/aws-cdk-ixor-r53";
import {Stack, Construct, StackProps} from "aws-cdk-lib";
import {Construct} from "contstructs";
export class MyStack extends Stack {
constructor(scope: Construct, id: string, props?: StackProps) {
super(scope, id, props);
new R53(
this, `r53_${this.node.id}`,
{
topicArn: this.node.tryGetContext("r53TopicArn"),
RecordType: "CNAME",
Source: "aLoadBalancerDnsName",
Target: "www.my.domain"
})
}
}
Test
A test stack is added in lib/test-aws-cdk-ixor-r53-stack
. The stack uses the R53
construct to create a CNAME of
ellen.ixor-tst.be
. When you deploy to sandbox, you should be able to run dig ellen.ixor-tst.be
and receive
a NOERROR
status.
1.2.0-rc-6
6 days ago
1.1.0
1 year ago
1.0.0-rc-2
1 year ago
1.0.0-rc-1
1 year ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.4
4 years ago
0.1.5
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago