interface FunctionScalingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnVersion.FunctionScalingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnVersion_FunctionScalingConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnVersion.FunctionScalingConfigProperty |
Python | aws_cdk.aws_lambda.CfnVersion.FunctionScalingConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnVersion » FunctionScalingConfigProperty |
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
// 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
| Name | Type | Description |
|---|---|---|
| max | number | The maximum number of execution environments that can be provisioned for the function. |
| min | number | The minimum number of execution environments to maintain for the function. |
maxExecutionEnvironments?
Type:
number
(optional)
The maximum number of execution environments that can be provisioned for the function.
minExecutionEnvironments?
Type:
number
(optional)
The minimum number of execution environments to maintain for the function.

.NET
Go
Java
Python
TypeScript