RuntimeManagementMode
- class aws_cdk.aws_lambda.RuntimeManagementMode(mode, arn=None)
- Bases: - object- Specify the runtime update mode. - ExampleMetadata:
- infused 
 - Example: - lambda_.Function(self, "Lambda", runtime_management_mode=lambda_.RuntimeManagementMode.AUTO, runtime=lambda_.Runtime.NODEJS_18_X, handler="index.handler", code=lambda_.Code.from_asset(path.join(__dirname, "lambda-handler")) ) - Parameters:
- mode ( - str)
- arn ( - Optional[- str])
 
 - Attributes - AUTO = <aws_cdk.aws_lambda.RuntimeManagementMode object>
 - FUNCTION_UPDATE = <aws_cdk.aws_lambda.RuntimeManagementMode object>
 - arn
 - mode
 - runtime_management_config
- //docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-runtimemanagementconfig.html. - Type:
- https 
 
 - Static Methods - classmethod manual(arn)
- You specify a runtime version in your function configuration. - The function uses this runtime version indefinitely. In the rare case in which a new runtime version is incompatible with an existing function, you can use this mode to roll back your function to an earlier runtime version. - Parameters:
- arn ( - str)
- Return type: