Skip to main content

vpc_classic_link_dns_supports

Creates, updates, deletes, gets or lists a vpc_classic_link_dns_supports resource.

Overview

Namevpc_classic_link_dns_supports
TypeResource
Idaws.ec2.vpc_classic_link_dns_supports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
classic_link_dns_supportedbooleanIndicates whether ClassicLink DNS support is enabled for the VPC.
vpc_idstringThe ID of the VPC.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_vpc_classic_link_dns_supportselectregionVpcIds, MaxResults, NextTokenThis 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
MaxResultsintegerThe 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.
NextTokenstringThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
VpcIdsarrayThe IDs of the VPCs.

SELECT examples

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.

SELECT
classic_link_dns_supported,
vpc_id
FROM aws.ec2.vpc_classic_link_dns_supports
WHERE region = '{{ region }}' -- required
AND VpcIds = '{{ VpcIds }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;