EC2.Client.
describe_vpc_classic_link_dns_support
(**kwargs)¶Note
We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide .
Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide .
See also: AWS API Documentation
Request Syntax
response = client.describe_vpc_classic_link_dns_support(
MaxResults=123,
NextToken='string',
VpcIds=[
'string',
]
)
One or more VPC IDs.
dict
Response Syntax
{
'NextToken': 'string',
'Vpcs': [
{
'ClassicLinkDnsSupported': True|False,
'VpcId': 'string'
},
]
}
Response Structure
(dict) --
NextToken (string) --
The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
Vpcs (list) --
Information about the ClassicLink DNS support status of the VPCs.
(dict) --
Describes the ClassicLink DNS support status of a VPC.
ClassicLinkDnsSupported (boolean) --
Indicates whether ClassicLink DNS support is enabled for the VPC.
VpcId (string) --
The ID of the VPC.