lambda:RemoveLayerVersionPermission is a Permissions management access-level action in the lambda service. Grants permission to remove a statement from the permissions policy for a version of an AWS Lambda layer
ARNs that lambda:RemoveLayerVersionPermission can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows lambda:RemoveLayerVersionPermission. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowLambdaRemoveLayerVersionPermission",
"Effect": "Allow",
"Action": "lambda:RemoveLayerVersionPermission",
"Resource": "*"
}
]
}