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
VpcEndpoint Service Domain Name Props
Construct Props
| Name | Type | Description |
|---|---|---|
| domain | string | The domain name to use. |
| endpoint | IVPCEndpoint | 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.
endpointService
Type:
IVPCEndpoint
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. |
| with(...mixins) | Applies one or more mixins to this construct. |
toString()
public toString(): string
Returns
string
Returns a string representation of this construct.
with(...mixins)
public with(...mixins: IMixin[]): IConstruct
Parameters
- mixins
IMixin— The mixins to apply.
Returns
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple with() calls if subsequent mixins should apply to added
constructs.

.NET
Go
Java
Python
TypeScript (