- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
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.
Note: AWS Lambda supports both container images and .zip file archives for the deployment package. When using an Image, the runtime is not accessible in the configuration data, as it is defined at the time of base image creation. This remains consistent across all three types of base images, AWS, and Custom. As a result, this configuration check only reports findings against Zip
type deployment packages.
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 "nodejs18.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"