VpcEndpointServiceDomainName

class aws_cdk.aws_route53.VpcEndpointServiceDomainName(scope, id, *, domain_name, endpoint_service, public_hosted_zone)

Bases: Construct

A Private DNS configuration for a VPC endpoint service.

ExampleMetadata:

infused

Example:

from aws_cdk.aws_route53 import HostedZone, VpcEndpointServiceDomainName
# zone: HostedZone
# vpces: ec2.VpcEndpointService


VpcEndpointServiceDomainName(self, "EndpointDomain",
    endpoint_service=vpces,
    domain_name="my-stuff.aws-cdk.dev",
    public_hosted_zone=zone
)
Parameters:
  • scope (Construct) –

  • id (str) –

  • domain_name (str) – 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.

  • endpoint_service (IVpcEndpointService) – The VPC Endpoint Service to configure Private DNS for.

  • public_hosted_zone (IPublicHostedZone) – The public hosted zone to use for the domain.

Methods

to_string()

Returns a string representation of this construct.

Return type:

str

Attributes

domain_name

The domain name associated with the private DNS configuration.

node

The construct tree node associated with this construct.

Static Methods

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters:

x (Any) –

Return type:

bool