Describes the ClassicLink status of one or more VPCs.
The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is
One or more filters.
is-classic-link-enabled- Whether the VPC is enabled for ClassicLink (
tag:key=value - The key/value combination of a tag assigned to the resource. Specify the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag Purpose=X, specify
tag:Purposefor the filter name and
Xfor the filter value.
tag-key- The key of a tag assigned to the resource. This filter is independent of the
tag-valuefilter. For example, if you use both the filter "tag-key=Purpose" and the filter "tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X, see the
tag-value- The value of a tag assigned to the resource. This filter is independent of the
Type: array of Filter objects
One or more VPCs for which you want to describe the ClassicLink status.
Type: array of Strings
The following elements are returned by the service.
The ID of the request.
The ClassicLink status of one or more VPCs.
Type: array of VpcClassicLink objects
For information about the errors that are common to all actions, see Common Errors.
This example lists the ClassicLink status of
https://ec2.amazonaws.com/?Action=DescribeVpcClassicLink &VpcId.1=vpc-88888888 &AUTHPARAMS
<DescribeVpcClassicLinkResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <vpcSet> <item> <vpcId>vpc-0441b461</vpcId> <classicLinkEnabled>true</classicLinkEnabled> <tagSet/> </item> </vpcSet> </DescribeVpcClassicLinkResponse>
For more information about using this API in one of the language-specific AWS SDKs, see the following: