AWS::Lambda::Function RuntimeManagementConfig - AWS CloudFormation (original) (raw)

Sets the runtime management configuration for a function's version. For more information, see Runtime updates.

Syntax

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

JSON

{
  "RuntimeVersionArn" : String,
  "UpdateRuntimeOn" : String
}

YAML

  RuntimeVersionArn: String
  UpdateRuntimeOn: String

Properties

RuntimeVersionArn

The ARN of the runtime version you want the function to use.

Note

This is only required if you're using the Manual runtime update mode.

Required: No

Type: String

Pattern: ^arn:(aws[a-zA-Z-]*):lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}::runtime:.+$

Minimum: 26

Maximum: 2048

Update requires: No interruption

UpdateRuntimeOn

Specify the runtime update mode.

Valid Values: Auto | FunctionUpdate | Manual

Required: Yes

Type: String

Allowed values: Auto | FunctionUpdate | Manual

Update requires: No interruption

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.