lambda:RemovePermission is a Permissions management access-level action in the lambda service. Grants permission to revoke function-use permission from an AWS service or another account
ARNs that lambda:RemovePermission can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants lambda:RemovePermission.
Filters access by authorization type specified in request. Available during CreateFunctionUrlConfig, UpdateFunctionUrlConfig, DeleteFunctionUrlConfig, GetFunctionUrlConfig, ListFunctionUrlConfig, AddPermission and RemovePermission operations
Filters access by restricting the AWS service or account that can invoke a function
Filters access by the tags associated with the resource
A minimal policy that allows lambda:RemovePermission. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowLambdaRemovePermission",
"Effect": "Allow",
"Action": "lambda:RemovePermission",
"Resource": "*"
}
]
}