Creates a public and private zone for a given domain name, and creates A records for the given targets.
import { SplitHorizonDns } from 'aws-cdk-split-horizon-dns'
new SplitHorizonDns ( scope : Construct , id : string , props : ISplitHorizonDnsProps )
Type: constructs.Construct
Name
Description
toString
Returns a string representation of this construct.
public toString ( ) : string
Returns a string representation of this construct.
Name
Description
isConstruct
Checks if x
is a construct.
import { SplitHorizonDns } from 'aws-cdk-split-horizon-dns'
SplitHorizonDns . isConstruct ( x : any )
Checks if x
is a construct.
Any object.
Name
Type
Description
node
constructs.Node
The tree node.
publicZone
aws-cdk-lib.aws_route53.IHostedZone
No description.
records
aws-cdk-lib.aws_route53.ARecord[][]
No description.
privateZone
aws-cdk-lib.aws_route53.IHostedZone
No description.
public readonly node : Node ;
The tree node.
public readonly publicZone: IHostedZone ;
Type: aws-cdk-lib.aws_route53.IHostedZone
public readonly records: ARecord [ ] [ ] ;
Type: aws-cdk-lib.aws_route53.ARecord[][]
public readonly privateZone: IHostedZone ;
Type: aws-cdk-lib.aws_route53.IHostedZone
import { AliasTarget } from 'aws-cdk-split-horizon-dns'
const aliasTarget : AliasTarget = { ... }
Name
Type
Description
target
aws-cdk-lib.aws_route53.IAliasRecordTarget | string[]
No description.
private
boolean
No description.
public
boolean
No description.
ttl
aws-cdk-lib.Duration
No description.
public readonly target : IAliasRecordTarget | string [ ] ;
Type: aws-cdk-lib.aws_route53.IAliasRecordTarget | string[]
public readonly private: boolean ;
public readonly public: boolean ;
public readonly ttl : Duration ;
Type: aws-cdk-lib.Duration
public readonly targets: AliasTarget [ ] ;
public readonly zoneName: string ;
certAlternateNames
Optional
public readonly certAlternateNames: string [ ] ;
disallowPrivateZone
Optional
public readonly disallowPrivateZone: boolean ;
existingPrivateZone
Optional
public readonly existingPrivateZone: IHostedZone ;
Type: aws-cdk-lib.aws_route53.IHostedZone
existingPublicZone
Optional
public readonly existingPublicZone: IHostedZone ;
Type: aws-cdk-lib.aws_route53.IHostedZone
includeCertificate
Optional
public readonly includeCertificate: boolean ;
public readonly privateZoneVpcs: Vpc [ ] ;
Type: aws-cdk-lib.aws_ec2.Vpc[]
public readonly recordName: string ;