Skip to content

/AWS1/CL_EC2DESCRVPCATTRRESULT

DescribeVpcAttributeResult

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_VPCID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the VPC.

IO_ENABLEDNSHOSTNAMES TYPE REF TO /AWS1/CL_EC2ATTRBOOLEANVALUE /AWS1/CL_EC2ATTRBOOLEANVALUE

Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.

IO_ENABLEDNSSUPPORT TYPE REF TO /AWS1/CL_EC2ATTRBOOLEANVALUE /AWS1/CL_EC2ATTRBOOLEANVALUE

Indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.

IO_ENBNETWORKADDRESSUSAGEMET TYPE REF TO /AWS1/CL_EC2ATTRBOOLEANVALUE /AWS1/CL_EC2ATTRBOOLEANVALUE

Indicates whether Network Address Usage metrics are enabled for your VPC.


Queryable Attributes

VpcId

The ID of the VPC.

Accessible with the following methods

Method Description
GET_VPCID() Getter for VPCID, with configurable default
ASK_VPCID() Getter for VPCID w/ exceptions if field has no value
HAS_VPCID() Determine if VPCID has a value

EnableDnsHostnames

Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.

Accessible with the following methods

Method Description
GET_ENABLEDNSHOSTNAMES() Getter for ENABLEDNSHOSTNAMES

EnableDnsSupport

Indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.

Accessible with the following methods

Method Description
GET_ENABLEDNSSUPPORT() Getter for ENABLEDNSSUPPORT

EnableNetworkAddressUsageMetrics

Indicates whether Network Address Usage metrics are enabled for your VPC.

Accessible with the following methods

Method Description
GET_ENBNETWORKADDRESSUSAGE00() Getter for ENABLENETWORKADDRESSUSAGEMET