VpcEndpointServiceDomainNameProps

class aws_cdk.aws_route53.VpcEndpointServiceDomainNameProps(*, domain_name, endpoint_service, public_hosted_zone)

Bases: object

Properties to configure a VPC Endpoint Service domain name.

Parameters:
  • 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.

ExampleMetadata:

infused

Example:

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


VpcEndpointServiceDomainName(self, "EndpointDomain",
    endpoint_service=vpces,
    domain_name="my-stuff.aws-cdk.dev",
    public_hosted_zone=zone
)

Attributes

domain_name

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:

https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-dns-validation.html

endpoint_service

The VPC Endpoint Service to configure Private DNS for.

public_hosted_zone

The public hosted zone to use for the domain.