Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Configuring Lambda runtime management settings

Focus mode
Configuring Lambda runtime management settings - AWS Lambda

You can configure runtime management settings using the Lambda console or the AWS Command Line Interface (AWS CLI).

Note

You can configure runtime management settings separately for each function version.

To configure how Lambda updates your runtime version (console)
  1. Open the Functions page of the Lambda console.

  2. Choose the name of a function.

  3. On the Code tab, under Runtime settings, choose Edit runtime management configuration.

  4. Under Runtime management configuration, choose one of the following:

    • To have your function update to the latest runtime version automatically, choose Auto.

    • To have your function update to the latest runtime version when you change the function, choose Function update.

    • To have your function update to the latest runtime version only when you change the runtime version ARN, choose Manual. You can find the runtime version ARN under Runtime management configuration. You can also find the ARN in the INIT_START line of your function logs.

    For more information about these options, see Runtime update modes.

  5. Choose Save.

To configure how Lambda updates your runtime version (AWS CLI)

To configure runtime management for a function, run the put-runtime-management-config AWS CLI command. When using Manual mode, you must also provide the runtime version ARN.

aws lambda put-runtime-management-config \ --function-name my-function \ --update-runtime-on Manual \ --runtime-version-arn arn:aws:lambda:us-east-2::runtime:8eeff65f6809a3ce81507fe733fe09b835899b99481ba22fd75b5a7338290ec1

You should see output similar to the following:

{ "UpdateRuntimeOn": "Manual", "FunctionArn": "arn:aws:lambda:us-east-2:111122223333:function:my-function", "RuntimeVersionArn": "arn:aws:lambda:us-east-2::runtime:8eeff65f6809a3ce81507fe733fe09b835899b99481ba22fd75b5a7338290ec1" }
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.