DescribeVpcAttribute
GET /?Action=DescribeVpcAttribute
Description
Describes a specified attribute of a VPC.
You can specify only one attribute at a time. You can get information about the two following attributes:
-
EnableDnsSupport
: Whether DNS resolution is supported for the VPC. -
EnableDnsHostnames
: Whether instances launched in the VPC get DNS hostnames.
The description of these attributes always returns true
, as the VPCs do not support their deactivation.
Note
|
If you exceed the number of identical requests allowed for a configured time period, the |
Body parameter
Required: false
Name: DescribeVpcAttributeRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
Attribute |
The attribute name ( |
true |
string |
||
VpcId |
The ID of the VPC. |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
DescribeVpcAttributeResult |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
enableDnsHostnames |
The state of the |
false |
|||
enableDnsSupport |
The state of the |
false |
|||
requestId |
The ID of the request. |
false |
string |
||
vpcId |
The ID of the VPC. |
false |
string |