- はじめに
- エージェント
- インテグレーション
- Watchdog
- イベント
- ダッシュボード
- モバイルアプリケーション
- インフラストラクチャー
- サーバーレス
- メトリクス
- ノートブック
- アラート設定
- APM & Continuous Profiler
- CI Visibility
- RUM & セッションリプレイ
- データベース モニタリング
- ログ管理
- セキュリティプラットフォーム
- Synthetic モニタリング
- ネットワークモニタリング
- 開発者
- API
- アカウントの管理
- データセキュリティ
- ヘルプ
Classification:
compliance
Update your Amazon Lambda Function to the latest runtime environment version.
As a best practice, Amazon recommends consistently updating your runtime environment to the latest version for security patches, bug fixes, and the latest features.
Follow the Configuring functions in the console docs to learn how to update the Lambda runtime that runs your function.
update-function-configuration
with your function name and the latest runtime version supported by AWS.update-function-configuration.sh
aws lambda update-function-configuration
--function-name YourLambdaFunction
--runtime "python3.9"
update-function-configuration.sh
aws lambda update-function-configuration
--function-name YourLambdaFunction
--runtime "nodejs14.x"
update-function-configuration.sh
aws lambda update-function-configuration
--function-name YourLambdaFunction
--runtime "java11"
update-function-configuration.sh
aws lambda update-function-configuration
--function-name YourLambdaFunction
--runtime "go1.x"
update-function-configuration.sh
aws lambda update-function-configuration
--function-name YourLambdaFunction
--runtime "dotnet6"
update-function-configuration.sh
aws lambda update-function-configuration
--function-name YourLambdaFunction
--runtime "ruby2.7"
update-function-configuration.sh
aws lambda update-function-configuration
--function-name YourLambdaFunction
--runtime "provided.al2"