AWS::Lambda::LayerVersionResource Type definition for AWS::Lambda::LayerVersion
6 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Content | Content | RequiredCreate-onlyWrite-only |
CompatibleArchitectures | Array<string> | Create-only |
CompatibleRuntimes | Array<string> | Create-only |
Description | string | Create-only |
LayerName | string | Create-only |
LicenseInfo | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
LayerVersionArn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lambda::LayerVersion
Resources:
MyResource:
Type: AWS::Lambda::LayerVersion
Properties:
Content: "value"
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
lambda:PublishLayerVersions3:GetObjects3:GetObjectVersionlambda:GetLayerVersionlambda:GetLayerVersionlambda:DeleteLayerVersionlambda:ListLayerVersionsEverything you need to know about Lambda on one page. HD quality, print-friendly.
Download Free InfographicLayerVersionArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
CompatibleRuntimesLicenseInfoCompatibleArchitecturesLayerNameDescriptionContent