lambda:UntagResource

Tagging

lambda:UntagResource is a Tagging access-level action in the lambda service. Grants permission to remove tags from an AWS Lambda function, event source mapping, capacity provider, code signing configuration, network connector, MicroVM image resource, or a web function resource

Resource types

ARNs that lambda:UntagResource can be scoped to in an IAM policy.

arn:${Partition}:lambda:${Region}:${Account}:capacity-provider:${CapacityProviderName}
capacityProvider
arn:${Partition}:lambda:${Region}:${Account}:code-signing-config:${CodeSigningConfigId}
code signing config
arn:${Partition}:lambda:${Region}:${Account}:event-source-mapping:${UUID}
eventSourceMapping
arn:${Partition}:lambda:${Region}:${Account}:function:${FunctionName}
function
arn:${Partition}:lambda:${Region}:${Account}:microvm-image:${MicrovmImageName}
microvmImage
arn:${Partition}:lambda:${Region}:${Account}:network-connector:${NetworkConnectorId}
networkConnector
arn:${Partition}:lambda:${Region}:${Account}:web-function/${FunctionName}
webFunction

Condition keys

Keys you can use in the Condition block of a policy that grants lambda:UntagResource.

aws:TagKeys ArrayOfString

Filters access by the tag keys that are passed in the request

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows lambda:UntagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowLambdaUntagResource",
      "Effect": "Allow",
      "Action": "lambda:UntagResource",
      "Resource": "*"
    }
  ]
}

Related actions in lambda

View all lambda actions →