macie2:TagResource is a Tagging access-level action in the macie2 service. Grants permission to add or update the tags for an Amazon Macie resource
ARNs that macie2:TagResource can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants macie2:TagResource.
Filters access by a tag key and value pair of a resource
A minimal policy that allows macie2:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowMacie2TagResource",
"Effect": "Allow",
"Action": "macie2:TagResource",
"Resource": "*"
}
]
}