All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::DescribeInstancesByTag

Last Updated:Jun 12, 2024

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 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.