1 個回答
- 最新
- 最多得票
- 最多評論
0
If you want to find the tag key/value, you can use the ListTagsForResources that lists tags for a specified resource like this:
{
"ResourceType": "Automation",
"ResourceId": "EXAMPLE_ID"
}
You can to retrieve the execution with the tag key using DescribeAutomationExecutions like this:
{
"Filters":
[
{
"Key": "TagKey",
"Values": [ "EXAMPLE_KEY" ]
}
]
}
已回答 1 年前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
Thanks for the response. Let's imagine you have a user executing the automation and you are tagging the automation with his username. If you didn't know what the username tag of every automation was, how would you find out?
Interesting, what would have been useful is if DescribeAutomationExecutions could filter by tagValue. Then you could have filtered by the username value.