DescribeVpcAttribute
In this article:
DescribeVpcAttribute#
Description#
Describes the specified attribute of the specified VPC. If you specify several parameter names separated with commas, you can get their values via one request.
Request Parameters#
Attribute — The instance attribute.
Type: String
Required: Yes
Default value: None
Valid values:
enableDnsSupport
— Indicates whether DNS resolution is enabled for the VPCenableDnsHostnames
— Not supported
VpcId — The ID of the VPC.
Type: String
Required: Yes
Response Elements#
Attribute
value — The value of the VPC attribute.
requestId — The request ID.
Type: String
VpcId — The ID of the VPC.
Type: String
Examples#
c2-ec2 DescribeVpcAttribute VpcId <vpc_id> Attribute <valid_attribute_value>