codedeploy:TagResource is a Tagging access-level action in the codedeploy service. Grants permission to associate the list of tags in the input Tags parameter with the resource identified by the ResourceArn input parameter
ARNs that codedeploy:TagResource can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codedeploy:TagResource.
Filters actions based on tag key-value pairs attached to the resource
A minimal policy that allows codedeploy:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodedeployTagResource",
"Effect": "Allow",
"Action": "codedeploy:TagResource",
"Resource": "*"
}
]
}