1 | import { IVpcEndpointService } from '@aws-cdk/aws-ec2';
|
2 | import { Construct } from 'constructs';
|
3 | import { IPublicHostedZone } from '../lib';
|
4 | import { Construct as CoreConstruct } from '@aws-cdk/core';
|
5 |
|
6 |
|
7 |
|
8 | export interface VpcEndpointServiceDomainNameProps {
|
9 | |
10 |
|
11 |
|
12 | readonly endpointService: IVpcEndpointService;
|
13 | |
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | readonly domainName: string;
|
22 | |
23 |
|
24 |
|
25 | readonly publicHostedZone: IPublicHostedZone;
|
26 | }
|
27 |
|
28 |
|
29 |
|
30 | export declare class VpcEndpointServiceDomainName extends CoreConstruct {
|
31 | private static readonly endpointServices;
|
32 | private static readonly endpointServicesMap;
|
33 | |
34 |
|
35 |
|
36 | domainName: string;
|
37 | constructor(scope: Construct, id: string, props: VpcEndpointServiceDomainNameProps);
|
38 | private validateProps;
|
39 | /**
|
40 | * Sets up Custom Resources to make AWS calls to set up Private DNS on an endpoint service,
|
41 | * returning the values to use in a TxtRecord, which AWS uses to verify domain ownership.
|
42 | */
|
43 | private getPrivateDnsConfiguration;
|
44 | /**
|
45 | * Creates a Route53 entry and a Custom Resource which explicitly tells AWS to verify ownership
|
46 | * of the domain name attached to an endpoint service.
|
47 | */
|
48 | private verifyPrivateDnsConfiguration;
|
49 | }
|