Skip to content

/AWS1/CL_EC2LAUNCHTMPLPVTDNS00

Describes the options for instance hostnames.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_HOSTNAMETYPE TYPE /AWS1/EC2HOSTNAMETYPE /AWS1/EC2HOSTNAMETYPE

The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.

IV_ENABLERESOURCENAMEDNSAREC TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

IV_ENABLERESRCNAMEDNSAAAAREC TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.


Queryable Attributes

HostnameType

The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.

Accessible with the following methods

Method Description
GET_HOSTNAMETYPE() Getter for HOSTNAMETYPE, with configurable default
ASK_HOSTNAMETYPE() Getter for HOSTNAMETYPE w/ exceptions if field has no value
HAS_HOSTNAMETYPE() Determine if HOSTNAMETYPE has a value

EnableResourceNameDnsARecord

Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

Accessible with the following methods

Method Description
GET_ENABLERESRCNAMEDNSAREC() Getter for ENABLERESOURCENAMEDNSARECORD, with configurable d
ASK_ENABLERESRCNAMEDNSAREC() Getter for ENABLERESOURCENAMEDNSARECORD w/ exceptions if fie
HAS_ENABLERESRCNAMEDNSAREC() Determine if ENABLERESOURCENAMEDNSARECORD has a value

EnableResourceNameDnsAAAARecord

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

Accessible with the following methods

Method Description
GET_ENBRESRCNAMEDNSAAAAREC() Getter for ENABLERESOURCENAMEDNSAAAAREC, with configurable d
ASK_ENBRESRCNAMEDNSAAAAREC() Getter for ENABLERESOURCENAMEDNSAAAAREC w/ exceptions if fie
HAS_ENBRESRCNAMEDNSAAAAREC() Determine if ENABLERESOURCENAMEDNSAAAAREC has a value