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, MicroVM image resource, or a web function 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 that are passed in the request
Filters access by the tag keys that are passed in the request
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": "*"
}
]
}