aws fis list-tags-for-resource
Lists the tags for the specified resource. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To list tags for a resource
The following list-tags-for-resource example lists the tags for the specified resource.
aws fis list-tags-for-resource --resource-arn arn:aws:fis:us-west-2:123456789012:experiment/ABC12DeFGhI3jKLMNOPIdentify--resource-arnThe Amazon Resource Name (ARN) of the resource.Its output
{
"tags": {
"key1": "value1",
"key2": "value2"
}
}For more information, see Tag your AWS FIS resources in the AWS Fault Injection Simulator User Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) of the resource.