View a markdown version of this page

AWS::Lambda::WebFunctionRevision S3Object - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lambda::WebFunctionRevision S3Object

The Amazon S3 location of a deployment artifact.

Syntax

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

JSON

{ "Bucket" : String, "Key" : String, "VersionId" : String }

YAML

Bucket: String Key: String VersionId: String

Properties

Bucket

The name of the Amazon S3 bucket.

Required: Yes

Type: String

Pattern: ^([a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9])$

Minimum: 3

Maximum: 63

Update requires: Replacement

Key

The Amazon S3 object key.

Required: Yes

Type: String

Minimum: 1

Maximum: 1024

Update requires: Replacement

VersionId

The version ID of the Amazon S3 object.

Required: No

Type: String

Update requires: Replacement