class VpcEndpointServiceDomainName (construct)
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Route53.VpcEndpointServiceDomainName |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#VpcEndpointServiceDomainName |
Java | software.amazon.awscdk.services.route53.VpcEndpointServiceDomainName |
Python | aws_cdk.aws_route53.VpcEndpointServiceDomainName |
TypeScript (source) | aws-cdk-lib » aws_route53 » VpcEndpointServiceDomainName |
Implements
IConstruct
, IDependable
A Private DNS configuration for a VPC endpoint service.
Example
import { PublicHostedZone, VpcEndpointServiceDomainName } from 'aws-cdk-lib/aws-route53';
declare const zone: PublicHostedZone;
declare const vpces: ec2.VpcEndpointService;
new VpcEndpointServiceDomainName(this, 'EndpointDomain', {
endpointService: vpces,
domainName: 'my-stuff.aws-cdk.dev',
publicHostedZone: zone,
});
Initializer
new VpcEndpointServiceDomainName(scope: Construct, id: string, props: VpcEndpointServiceDomainNameProps)
Parameters
- scope
Construct
- id
string
- props
Vpc
Endpoint Service Domain Name Props
Construct Props
Name | Type | Description |
---|---|---|
domain | string | The domain name to use. |
endpoint | IVpc | The VPC Endpoint Service to configure Private DNS for. |
public | IPublic | The public hosted zone to use for the domain. |
domainName
Type:
string
The domain name to use.
This domain name must be owned by this account (registered through Route53), or delegated to this account. Domain ownership will be verified by AWS before private DNS can be used.
See also: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-dns-validation.html
endpointService
Type:
IVpc
The VPC Endpoint Service to configure Private DNS for.
publicHostedZone
Type:
IPublic
The public hosted zone to use for the domain.
Properties
Name | Type | Description |
---|---|---|
domain | string | The domain name associated with the private DNS configuration. |
node | Node | The tree node. |
domainName
Type:
string
The domain name associated with the private DNS configuration.
node
Type:
Node
The tree node.
Methods
Name | Description |
---|---|
to | Returns a string representation of this construct. |
String()
topublic toString(): string
Returns
string
Returns a string representation of this construct.