AWS::Lambda::WebFunctionResource Type definition for AWS::Lambda::WebFunction. Creates a Lambda Web function container.
2 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
FunctionName | string | RequiredCreate-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | The timestamp when the function was created. |
FunctionArn | string | The Amazon Resource Name (ARN) of the function. |
State | string | The current state of the function. |
StateReason | string | The reason for the function's current state. |
UpdatedAt | string | The timestamp when the function was last updated. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lambda::WebFunction
Resources:
MyResource:
Type: AWS::Lambda::WebFunction
Properties:
FunctionName: "my-functionname"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
lambda:CreateWebFunctionlambda:GetWebFunctionlambda:TagResourcelambda:ListTagslambda:GetWebFunctionlambda:ListTagslambda:GetWebFunctionlambda:TagResourcelambda:UntagResourcelambda:ListTagslambda:DeleteWebFunctionlambda:GetWebFunctionlambda:ListTagslambda:ListWebFunctionsEverything you need to know about Lambda on one page. HD quality, print-friendly.
Download Free InfographicFunctionArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
FunctionName