CmdID / aws / aws securitylake
aws securitylake tag-resource
Adds or updates one or more tags that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To add tags to an existing resource
The following tag-resource example add tags to an existing subscriber resource. To create a new resource and add one or more tags to it, don't use this operation. Instead, use the appropriate Create operation for the the type of resource that you want to create.
aws securitylake tag-resource --resource-arn "arn:aws:securitylake:us-west-2:123456789012:subscriber/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --tags key=Environment,value=CloudIdentify--resource-arnThe Amazon Resource Name (ARN) of the Amazon Security Lake resource to add or update the tags for.--tagsAn array of objects, one for each tag (key and value) to associate with the Amazon Security Lake resource.This command produces no output.
For more information, see Tagging Amazon Security Lake resources in the Amazon Security Lake User Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) of the Amazon Security Lake resource to add or update the tags for.--tagsAn array of objects, one for each tag (key and value) to associate with the Amazon Security Lake resource.