CmdID

CmdID / aws / aws cognito-idp

aws cognito-idp tag-resource

Assigns a set of tags to an Amazon Cognito user pool. 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 tag a user pool

The following tag-resource example applies administrator and department tags to the requested user pool.

aws cognito-idp tag-resource --resource-arn arn:aws:cognito-idp:us-west-2:123456789012:userpool/us-west-2_EXAMPLE --tags administrator=Jie,tenant=ExampleCorpIdentify
--resource-arnThe Amazon Resource Name (ARN) of the user pool to assign the tags to.
--tagsAn array of tag keys and values that you want to assign to the user pool.

This command produces no output.

For more information, see Tagging Amazon Cognito resources in the Amazon Cognito Developer Guide.

Options

2 in the AWS CLI reference
--resource-arnThe Amazon Resource Name (ARN) of the user pool to assign the tags to.
--tagsAn array of tag keys and values that you want to assign to the user pool.