Skip to content
v2.274.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.CfnFunction.FunctionScalingConfigProperty = {
  maxExecutionEnvironments: 123,
  minExecutionEnvironments: 123,
};

Properties ​

maxExecutionEnvironmentsoptionalnumbermax_execution_environmentsoptionalint | floatmaxExecutionEnvironmentsoptionalNumberMaxExecutionEnvironmentsoptionaldoubleMaxExecutionEnvironmentsoptional*float64#
The maximum number of execution environments that can be provisioned for the function.
minExecutionEnvironmentsoptionalnumbermin_execution_environmentsoptionalint | floatminExecutionEnvironmentsoptionalNumberMinExecutionEnvironmentsoptionaldoubleMinExecutionEnvironmentsoptional*float64#
The minimum number of execution environments to maintain for the function.