Skip to content

Commit

Permalink
got it!
Browse files Browse the repository at this point in the history
  • Loading branch information
IamFlowZ committed Jan 28, 2023
1 parent bf11fe2 commit 5d41660
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 24 deletions.
113 changes: 96 additions & 17 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ const isAliasRecordTarget = (value: route53.IAliasRecordTarget | Array<string>):

type ARecordArray = Array<route53.ARecord>;

export type AliasTarget = {
target: route53.IAliasRecordTarget | Array<string>;
private?: boolean;
public?: boolean;
ttl?: cdk.Duration;
export interface AliasTarget {
readonly target: route53.IAliasRecordTarget | Array<string>;
readonly private?: boolean;
readonly public?: boolean;
readonly ttl?: cdk.Duration;
}

export interface SplitHorizonDnsProps {
export interface ISplitHorizonDnsProps {
readonly zoneName: string;
readonly certAlternateNames?: Array<string>;
readonly privateZoneVpcs: Array<ec2.Vpc>;
Expand All @@ -32,7 +32,7 @@ export class SplitHorizonDns extends Construct {

public records: Array<ARecordArray>;

constructor(scope: Construct, id: string, props: SplitHorizonDnsProps) {
constructor(scope: Construct, id: string, props: ISplitHorizonDnsProps) {
super(scope, id);

const {
Expand Down

0 comments on commit 5d41660

Please sign in to comment.