AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Lambda LayerVersion Content

The Content property type specifies the ZIP archive for an AWS Lambda layer version.

Content is a property of the AWS::Lambda::LayerVersion resource.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "S3Bucket" : String, "S3Key" : String, "S3ObjectVersion" : String }

YAML

S3Bucket: String S3Key: String S3ObjectVersion: String

Properties

S3Bucket

The Amazon S3 bucket of the layer archive.

Required: Yes

Type: String

Update requires: Replacement

S3Key

The Amazon S3 key of the layer archive.

Required: Yes

Type: String

Update requires: Replacement

S3ObjectVersion

For versioned objects, the version of the layer archive object to use.

Required: No

Type: String

Update requires: Replacement

See Also

On this page: