codewhisperer:TagResource is a Tagging access-level action in the codewhisperer service. Grants permission to invoke TagResource on CodeWhisperer
ARNs that codewhisperer:TagResource can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codewhisperer:TagResource.
Filters access by the tags that are passed in the request
Filters access by the tags associated with CodeWhisperer resource
Filters access by the tag keys that are passed in the request
A minimal policy that allows codewhisperer:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodewhispererTagResource",
"Effect": "Allow",
"Action": "codewhisperer:TagResource",
"Resource": "*"
}
]
}