Describes one or more of your linked EC2-Classic instances. This request only returns information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot use this request to return information about other instances.
ec2_describe_classic_link_instances(Filters, DryRun, InstanceIds,
MaxResults, NextToken)
A list with the following syntax:
list(
Instances = list(
list(
Groups = list(
list(
GroupName = "string",
GroupId = "string"
)
),
InstanceId = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
VpcId = "string"
)
),
NextToken = "string"
)
One or more filters.
group-id
- The ID of a VPC security group that's associated with
the instance.
instance-id
- The ID of the instance.
tag
:<key> - The key/value combination of a tag assigned to
the resource. Use the tag key in the filter name and the tag value
as the filter value. For example, to find all resources that have a
tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this
filter to find all resources assigned a tag with a specific key,
regardless of the tag value.
vpc-id
- The ID of the VPC to which the instance is linked.
vpc-id
- The ID of the VPC that the instance is linked to.
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 UnauthorizedOperation
.
One or more instance IDs. Must be instances linked to a VPC through ClassicLink.
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
Constraint: If the value is greater than 1000, we return only 1000 items.
The token for the next page of results.
svc$describe_classic_link_instances(
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
),
DryRun = TRUE|FALSE,
InstanceIds = list(
"string"
),
MaxResults = 123,
NextToken = "string"
)