lambda:TagResource is a Tagging access-level action in the lambda service. Grants permission to add tags to an AWS Lambda function, event source mapping, capacity provider, code signing configuration, network connector or MicroVM image resource
ARNs that lambda:TagResource can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants lambda:TagResource.
Filters access by the tags associated with the resource
A minimal policy that allows lambda:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowLambdaTagResource",
"Effect": "Allow",
"Action": "lambda:TagResource",
"Resource": "*"
}
]
}