View a markdown version of this page

AWS::Lambda::Runtime ReleaseLifecycle - 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::Runtime ReleaseLifecycle

The runtime lifecycle for the runtime or alias. Optional. Used to schedule runtime deprecation. Omitting or providing an empty object removes the existing lifecycle.

Syntax

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

JSON

{ "DeprecationDate" : String, "FunctionCreateBlockDate" : String, "FunctionUpdateBlockDate" : String, "ReleaseState" : String }

Properties

DeprecationDate

The date (UTC) on which the runtime or alias becomes deprecated.

Required: No

Type: String

Pattern: ^\d{4}-\d{2}-\d{2}$

Minimum: 10

Maximum: 10

Update requires: No interruption

FunctionCreateBlockDate

The date (UTC) on which creating new functions that use this runtime or alias is blocked.

Required: No

Type: String

Pattern: ^\d{4}-\d{2}-\d{2}$

Minimum: 10

Maximum: 10

Update requires: No interruption

FunctionUpdateBlockDate

The date (UTC) on which updating existing functions that use this runtime or alias is blocked.

Required: No

Type: String

Pattern: ^\d{4}-\d{2}-\d{2}$

Minimum: 10

Maximum: 10

Update requires: No interruption

ReleaseState

Optional, with no default applied. DEPRECATED requires a DeprecationDate on or before today (UTC); PREVIEW and GA require a later one, or none. Reads report DEPRECATED once DeprecationDate is reached.

Required: No

Type: String

Allowed values: PREVIEW | GA | DEPRECATED

Update requires: No interruption