Queries ECS instance IDs by a specified tag key and value.
Description
Queries the IDs of Elastic Compute Service (ECS) instances based on a tag.
Syntax
Action: ACS::ECS::DescribeInstancesByTag
Properties:
regionId: String
tagKey: String
tagValue: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
tagKey |
The tag key used to query ECS instances. |
String |
Yes |
||
|
tagValue |
The tag value used to query ECS instances. |
String |
Yes |
Output
|
Output item |
Description |
Type |
|
instanceIds |
List |
References
For more information, see ACS::ECS::DescribeInstancesByTag.yml at GitHub.