vpc_classic_link_dns_supports
Creates, updates, deletes, gets or lists a vpc_classic_link_dns_supports resource.
Overview
| Name | vpc_classic_link_dns_supports |
| Type | Resource |
| Id | aws.ec2.vpc_classic_link_dns_supports |
Fields
The following fields are returned by SELECT queries:
- describe_vpc_classic_link_dns_support
| Name | Datatype | Description |
|---|---|---|
classic_link_dns_supported | boolean | Indicates whether ClassicLink DNS support is enabled for the VPC. |
vpc_id | string | The ID of the VPC. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_vpc_classic_link_dns_support | select | region | VpcIds, MaxResults, NextToken | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
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. |
VpcIds | array | The IDs of the VPCs. |
SELECT examples
- describe_vpc_classic_link_dns_support
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 }}'
;