/
hosted-zone-ref.ts
61 lines (53 loc) · 1.26 KB
/
hosted-zone-ref.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import * as iam from '../../aws-iam';
import { IResource } from '../../core';
/**
* Imported or created hosted zone
*/
export interface IHostedZone extends IResource {
/**
* ID of this hosted zone, such as "Z23ABC4XYZL05B"
*
* @attribute
*/
readonly hostedZoneId: string;
/**
* FQDN of this hosted zone
*/
readonly zoneName: string;
/**
* ARN of this hosted zone, such as arn:${Partition}:route53:::hostedzone/${Id}
*
* @attribute
*/
readonly hostedZoneArn: string;
/**
* Returns the set of name servers for the specific hosted zone. For example:
* ns1.example.com.
*
* This attribute will be undefined for private hosted zones or hosted zones imported from another stack.
*
* @attribute
*/
readonly hostedZoneNameServers?: string[];
/**
* Grant permissions to add delegation records to this zone
*/
grantDelegation(grantee: iam.IGrantable): iam.Grant;
}
/**
* Reference to a hosted zone
*/
export interface HostedZoneAttributes {
/**
* Identifier of the hosted zone
*/
readonly hostedZoneId: string;
/**
* Name of the hosted zone
*/
readonly zoneName: string;
}
/**
* Reference to a public hosted zone
*/
export interface PublicHostedZoneAttributes extends HostedZoneAttributes { }