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. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
You must specify a VPC ID in the request.
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.
get/#Action=DisableVpcClassicLinkDnsSupport
Query parameters
VpcIdstring
The ID of the VPC.
Action'DisableVpcClassicLinkDnsSupport' required
Version'2016-11-15' required
Response
Success