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