lambda:DeleteWebFunctionEndpoint

Write

lambda:DeleteWebFunctionEndpoint is a Write access-level action in the lambda service. Grants permission to delete an endpoint for a Lambda web function

Resource types

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

arn:${Partition}:lambda:${Region}:${Account}:web-function/${FunctionName}/endpoint/${EndpointName} required
webFunctionEndpoint

Condition keys

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

lambda:Resource/WebFunctionAuthType String

Filters access by the auth type configured on the web function endpoint resource. Available during InvokeWebFunctionEndpoint, UpdateWebFunctionEndpoint, DeleteWebFunctionEndpoint, and GetWebFunctionEndpoint operations

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in lambda

View all lambda actions →