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: StringAttributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | No | {{ ACS::RegionId }} | |
tagKey | The tag key that is used to query ECS instances. | String | Yes | ||
tagValue | The tag value that is 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.