EC2 / Client / describe_vpc_classic_link_dns_support
describe_vpc_classic_link_dns_support#
- EC2.Client.describe_vpc_classic_link_dns_support(**kwargs)#
Note
This action is deprecated.
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.
See also: AWS API Documentation
Request Syntax
response = client.describe_vpc_classic_link_dns_support( VpcIds=[ 'string', ], MaxResults=123, NextToken='string' )
- Parameters:
VpcIds (list) –
The IDs of the VPCs.
(string) –
MaxResults (integer) – The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
NextToken (string) – The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- Return type:
dict
- Returns:
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) –
Note
Deprecated.
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.