AWS::Lambda::WebFunctionEndpointResource Type definition for AWS::Lambda::WebFunctionEndpoint. An endpoint exposes a Lambda web function over HTTPS and routes traffic to one or more revisions. The endpoint type determines how traffic is served and routed across Regions.
9 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AuthType | string | Required |
EndpointName | string | RequiredCreate-only |
EndpointType | string | RequiredCreate-only |
FunctionName | string | RequiredCreate-only |
Description | string | |
Regions | Array<string> | Create-only |
RevisionWeights | Array<RevisionWeight> | |
ScalingConfig | ScalingConfig | |
ThrottleConfig | ThrottleConfig |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | The timestamp when the endpoint was created. |
DomainName | string | The domain name of the endpoint. |
EndpointArn | string | The Amazon Resource Name (ARN) of the endpoint. |
FunctionArn | string | The Amazon Resource Name (ARN) of the function. |
RegionalEndpoints | object | Per-region endpoint status and configuration. |
State | string | The current state of the endpoint. |
StateReason | string | The reason for the endpoint's current state. |
UpdatedAt | string | The timestamp when the endpoint was last updated. |
UpdateStatus | string | The status of the last update operation. |
UpdateStatusReason | string | The reason for the update status. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lambda::WebFunctionEndpoint
Resources:
MyResource:
Type: AWS::Lambda::WebFunctionEndpoint
Properties:
FunctionName: "my-functionname"
EndpointName: "my-endpointname"
EndpointType: "HomeRegion"
AuthType: "ApplicationManaged"
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
lambda:CreateWebFunctionEndpointlambda:GetWebFunctionEndpointlambda:GetWebFunctionEndpointlambda:UpdateWebFunctionEndpointlambda:GetWebFunctionEndpointlambda:DeleteWebFunctionEndpointlambda:GetWebFunctionEndpointlambda:ListWebFunctionEndpointsEverything you need to know about Lambda on one page. HD quality, print-friendly.
Download Free InfographicEndpointArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
FunctionNameEndpointNameEndpointTypeRegions