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.

Example:

from aws_cdk.aws_route53 import HostedZone, VpcEndpointServiceDomainName
# zone is of type HostedZone
# vpces is of type 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

Return type

str

endpoint_service

The VPC Endpoint Service to configure Private DNS for.

Return type

IVpcEndpointService

public_hosted_zone

The public hosted zone to use for the domain.

Return type

IPublicHostedZone