Skip to content

/AWS1/CL_EC2DNSOPTIONSSPEC

Describes the DNS options for an endpoint.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_dnsrecordiptype TYPE /AWS1/EC2DNSRECORDIPTYPE /AWS1/EC2DNSRECORDIPTYPE

The DNS records created for the endpoint.

iv_pvtdnsonlyforinboundres00 TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

iv_privatednspreference TYPE /AWS1/EC2STRING /AWS1/EC2STRING

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.

  • ALL_DOMAINS - VPC Lattice provisions private hosted zones for all custom domain names.

  • VERIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone only if custom domain name has been verified by the provider.

  • VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS - VPC Lattice provisions private hosted zones for all verified custom domain names and other domain names that the resource consumer specifies. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.

  • SPECIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone for domain names specified by the resource consumer. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.

it_pvtdnsspecifieddomains TYPE /AWS1/CL_EC2PVTDNSSPECIFIEDD00=>TT_PVTDNSSPECIFIEDDOMAINSET TT_PVTDNSSPECIFIEDDOMAINSET

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.


Queryable Attributes

DnsRecordIpType

The DNS records created for the endpoint.

Accessible with the following methods

Method Description
GET_DNSRECORDIPTYPE() Getter for DNSRECORDIPTYPE, with configurable default
ASK_DNSRECORDIPTYPE() Getter for DNSRECORDIPTYPE w/ exceptions if field has no val
HAS_DNSRECORDIPTYPE() Determine if DNSRECORDIPTYPE has a value

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.

Accessible with the following methods

Method Description
GET_PVTDNSONLYFORINBOUNDRE00() Getter for PVTDNSONLYFORINBOUNDRESOLV00, with configurable d
ASK_PVTDNSONLYFORINBOUNDRE00() Getter for PVTDNSONLYFORINBOUNDRESOLV00 w/ exceptions if fie
HAS_PVTDNSONLYFORINBOUNDRE00() Determine if PVTDNSONLYFORINBOUNDRESOLV00 has a value

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.

  • ALL_DOMAINS - VPC Lattice provisions private hosted zones for all custom domain names.

  • VERIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone only if custom domain name has been verified by the provider.

  • VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS - VPC Lattice provisions private hosted zones for all verified custom domain names and other domain names that the resource consumer specifies. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.

  • SPECIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone for domain names specified by the resource consumer. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.

Accessible with the following methods

Method Description
GET_PRIVATEDNSPREFERENCE() Getter for PRIVATEDNSPREFERENCE, with configurable default
ASK_PRIVATEDNSPREFERENCE() Getter for PRIVATEDNSPREFERENCE w/ exceptions if field has n
HAS_PRIVATEDNSPREFERENCE() Determine if PRIVATEDNSPREFERENCE has a value

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.

Accessible with the following methods

Method Description
GET_PVTDNSSPECIFIEDDOMAINS() Getter for PRIVATEDNSSPECIFIEDDOMAINS, with configurable def
ASK_PVTDNSSPECIFIEDDOMAINS() Getter for PRIVATEDNSSPECIFIEDDOMAINS w/ exceptions if field
HAS_PVTDNSSPECIFIEDDOMAINS() Determine if PRIVATEDNSSPECIFIEDDOMAINS has a value