describe_attribute
(**kwargs)¶Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.
See also: AWS API Documentation
Request Syntax
response = vpc.describe_attribute(
Attribute='enableDnsSupport'|'enableDnsHostnames'|'enableNetworkAddressUsageMetrics',
DryRun=True|False
)
[REQUIRED]
The VPC attribute.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'VpcId': 'string',
'EnableDnsHostnames': {
'Value': True|False
},
'EnableDnsSupport': {
'Value': True|False
},
'EnableNetworkAddressUsageMetrics': {
'Value': True|False
}
}
Response Structure
(dict) --
VpcId (string) --
The ID of the VPC.
EnableDnsHostnames (dict) --
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.
Value (boolean) --
The attribute value. The valid values are true
or false
.
EnableDnsSupport (dict) --
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.
Value (boolean) --
The attribute value. The valid values are true
or false
.
EnableNetworkAddressUsageMetrics (dict) --
Indicates whether Network Address Usage metrics are enabled for your VPC.
Value (boolean) --
The attribute value. The valid values are true
or false
.