Skip to content

Latest commit

 

History

History
315 lines (191 loc) · 10.5 KB

API.md

File metadata and controls

315 lines (191 loc) · 10.5 KB

API Reference

Constructs

SplitHorizonDns

Creates a public and private zone for a given domain name, and creates A records for the given targets.

Initializers

import { SplitHorizonDns } from 'aws-cdk-split-horizon-dns'

new SplitHorizonDns(scope: Construct, id: string, props: ISplitHorizonDnsProps)
Name Type Description
scope constructs.Construct No description.
id string No description.
props ISplitHorizonDnsProps No description.

scopeRequired
  • Type: constructs.Construct

idRequired
  • Type: string

propsRequired

Methods

Name Description
toString Returns a string representation of this construct.

toString
public toString(): string

Returns a string representation of this construct.

Static Functions

Name Description
isConstruct Checks if x is a construct.

isConstruct
import { SplitHorizonDns } from 'aws-cdk-split-horizon-dns'

SplitHorizonDns.isConstruct(x: any)

Checks if x is a construct.

xRequired
  • Type: any

Any object.


Properties

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.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


publicZoneRequired
public readonly publicZone: IHostedZone;
  • Type: aws-cdk-lib.aws_route53.IHostedZone

recordsRequired
public readonly records: ARecord[][];
  • Type: aws-cdk-lib.aws_route53.ARecord[][]

privateZoneOptional
public readonly privateZone: IHostedZone;
  • Type: aws-cdk-lib.aws_route53.IHostedZone

Structs

AliasTarget

Initializer

import { AliasTarget } from 'aws-cdk-split-horizon-dns'

const aliasTarget: AliasTarget = { ... }

Properties

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.

targetRequired
public readonly target: IAliasRecordTarget | string[];
  • Type: aws-cdk-lib.aws_route53.IAliasRecordTarget | string[]

privateOptional
public readonly private: boolean;
  • Type: boolean

publicOptional
public readonly public: boolean;
  • Type: boolean

ttlOptional
public readonly ttl: Duration;
  • Type: aws-cdk-lib.Duration

Protocols

ISplitHorizonDnsProps

Properties

Name Type Description
targets AliasTarget[] No description.
zoneName string No description.
certAlternateNames string[] No description.
disallowPrivateZone boolean No description.
existingPrivateZone aws-cdk-lib.aws_route53.IHostedZone No description.
existingPublicZone aws-cdk-lib.aws_route53.IHostedZone No description.
includeCertificate boolean No description.
privateZoneVpcs aws-cdk-lib.aws_ec2.Vpc[] No description.
recordName string No description.

targetsRequired
public readonly targets: AliasTarget[];

zoneNameRequired
public readonly zoneName: string;
  • Type: string

certAlternateNamesOptional
public readonly certAlternateNames: string[];
  • Type: string[]

disallowPrivateZoneOptional
public readonly disallowPrivateZone: boolean;
  • Type: boolean

existingPrivateZoneOptional
public readonly existingPrivateZone: IHostedZone;
  • Type: aws-cdk-lib.aws_route53.IHostedZone

existingPublicZoneOptional
public readonly existingPublicZone: IHostedZone;
  • Type: aws-cdk-lib.aws_route53.IHostedZone

includeCertificateOptional
public readonly includeCertificate: boolean;
  • Type: boolean

privateZoneVpcsOptional
public readonly privateZoneVpcs: Vpc[];
  • Type: aws-cdk-lib.aws_ec2.Vpc[]

recordNameOptional
public readonly recordName: string;
  • Type: string