CmdID

CmdID / aws / aws detective

aws detective tag-resource

Applies tag values to a behavior graph. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To assign a tag to a resource

The following tag-resource example assigns a value for the Department tag to the specified behavior graph.

aws detective tag-resource --resource-arn arn:aws:detective:us-west-2:123456789012:graph:027c7c4610ea4aacaf0b883093cab899 --tags '{"Department":"Finance"}'Identify
--resource-arnThe ARN of the behavior graph to assign the tags to.
--tagsThe tags to assign to the behavior graph.

This command produces no output.

For more information, see Managing tags for a behavior graph in the Amazon Detective Administration Guide.

Options

2 in the AWS CLI reference
--resource-arnThe ARN of the behavior graph to assign the tags to.
--tagsThe tags to assign to the behavior graph.