Skip to content
v2.273.0

FunctionScalingConfigProperty Struct ​

Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const functionScalingConfigProperty: lambda.CfnVersion.FunctionScalingConfigProperty = {
  maxExecutionEnvironments: 123,
  minExecutionEnvironments: 123,
};

Properties ​

maxExecutionEnvironmentsnumbermax_execution_environmentsint | floatmaxExecutionEnvironmentsNumberMaxExecutionEnvironmentsdoubleMaxExecutionEnvironments*float64#
The maximum number of execution environments that can be provisioned for the function.
minExecutionEnvironmentsnumbermin_execution_environmentsint | floatminExecutionEnvironmentsNumberMinExecutionEnvironmentsdoubleMinExecutionEnvironments*float64#
The minimum number of execution environments to maintain for the function.