EC2 / Client / disable_vpc_classic_link_dns_support
disable_vpc_classic_link_dns_support#
- EC2.Client.disable_vpc_classic_link_dns_support(**kwargs)#
Note
This action is deprecated.
Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it’s linked.
You must specify a VPC ID in the request.
See also: AWS API Documentation
Request Syntax
response = client.disable_vpc_classic_link_dns_support( VpcId='string' )
- Parameters:
VpcId (string) – The ID of the VPC.
- Return type:
dict
- Returns:
Response Syntax
{ 'Return': True|False }
Response Structure
(dict) –
Return (boolean) –
Returns
true
if the request succeeds; otherwise, it returns an error.