AWS::EC2::VPCEndpoint DnsOptionsSpecification - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::EC2::VPCEndpoint DnsOptionsSpecification

Describes the DNS options for an endpoint.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "DnsRecordIpType" : String, "PrivateDnsOnlyForInboundResolverEndpoint" : String, "PrivateDnsPreference" : String, "PrivateDnsSpecifiedDomains" : [ String, ... ] }

Properties

DnsRecordIpType

The DNS records created for the endpoint.

Required: No

Type: String

Allowed values: ipv4 | ipv6 | dualstack | service-defined | not-specified

Update requires: No interruption

PrivateDnsOnlyForInboundResolverEndpoint

Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.

Required: No

Type: String

Allowed values: OnlyInboundResolver | AllResolvers | NotSpecified

Update requires: No interruption

PrivateDnsPreference

The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.

Required: No

Type: String

Allowed values: VERIFIED_DOMAINS_ONLY | ALL_DOMAINS | VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS | SPECIFIED_DOMAINS_ONLY

Update requires: Replacement

PrivateDnsSpecifiedDomains

Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS or SPECIFIED_DOMAINS_ONLY.

Required: No

Type: Array of String

Minimum: 1 | 1

Maximum: 255 | 10

Update requires: Replacement