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.


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