aws-cdk-lib.aws_route53.VpcEndpointServiceDomainName

class VpcEndpointServiceDomainName (construct)

LanguageType name
.NETAmazon.CDK.AWS.Route53.VpcEndpointServiceDomainName
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsroute53#VpcEndpointServiceDomainName
Javasoftware.amazon.awscdk.services.route53.VpcEndpointServiceDomainName
Pythonaws_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 { HostedZone, VpcEndpointServiceDomainName } from 'aws-cdk-lib/aws-route53';
declare const zone: HostedZone;
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 VpcEndpointServiceDomainNameProps

Construct Props

NameTypeDescription
domainNamestringThe domain name to use.
endpointServiceIVpcEndpointServiceThe VPC Endpoint Service to configure Private DNS for.
publicHostedZoneIPublicHostedZoneThe 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: IVpcEndpointService

The VPC Endpoint Service to configure Private DNS for.


publicHostedZone

Type: IPublicHostedZone

The public hosted zone to use for the domain.

Properties

NameTypeDescription
domainNamestringThe domain name associated with the private DNS configuration.
nodeNodeThe tree node.

domainName

Type: string

The domain name associated with the private DNS configuration.


node

Type: Node

The tree node.

Methods

NameDescription
toString()Returns a string representation of this construct.

toString()

public toString(): string

Returns

  • string

Returns a string representation of this construct.