AWS::Lambda::WebFunctionRevisionResource Type definition for AWS::Lambda::WebFunctionRevision. An immutable revision of a Lambda web function, containing the function code and configuration.
5 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
BuildConfig | object | RequiredCreate-only |
FunctionName | string | RequiredCreate-only |
ServiceConfig | object | RequiredCreate-only |
Description | string | Create-only |
KmsKeyArn | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | The timestamp when the revision was created. |
FunctionArn | string | The Amazon Resource Name (ARN) of the function. |
RevisionArn | string | The Amazon Resource Name (ARN) of the revision. |
RevisionId | string | The unique identifier of the revision. |
State | string | The current state of the revision. |
StateReason | string | The reason for the revision's current state. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lambda::WebFunctionRevision
Resources:
MyResource:
Type: AWS::Lambda::WebFunctionRevision
Properties:
FunctionName: "my-functionname"
BuildConfig: {}
ServiceConfig: {}
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
lambda:CreateWebFunctionRevisionlambda:GetWebFunctionRevisionlambda:PassNetworkConnectoriam:PassRoles3:GetObjects3:GetObjectVersionkms:CreateGrantkms:Decryptkms:DescribeKeykms:GenerateDataKeylambda:GetWebFunctionRevisionkms:Decryptlambda:DeleteWebFunctionRevisionlambda:GetWebFunctionRevisionkms:Decryptlambda:ListWebFunctionRevisionsEverything you need to know about Lambda on one page. HD quality, print-friendly.
Download Free InfographicRevisionArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
FunctionNameDescriptionKmsKeyArnBuildConfigServiceConfig