lambda:InvokeWebFunctionEndpoint

Write

lambda:InvokeWebFunctionEndpoint is a Write access-level action in the lambda service. Grants permission to invoke a Lambda web function endpoint via HTTP

Resource types

ARNs that lambda:InvokeWebFunctionEndpoint 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:InvokeWebFunctionEndpoint.

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:InvokeWebFunctionEndpoint. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in lambda

View all lambda actions →