UNPKG

627 BTypeScriptView Raw
1/**
2 * Zone properties for looking up the Hosted Zone
3 */
4export interface HostedZoneProviderProps {
5 /**
6 * The zone domain e.g. example.com
7 */
8 readonly domainName: string;
9 /**
10 * Whether the zone that is being looked up is a private hosted zone
11 *
12 * @default false
13 */
14 readonly privateZone?: boolean;
15 /**
16 * Specifies the ID of the VPC associated with a private hosted zone.
17 *
18 * If a VPC ID is provided and privateZone is false, no results will be returned
19 * and an error will be raised
20 *
21 * @default - No VPC ID
22 */
23 readonly vpcId?: string;
24}