interface FunctionScalingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnVersionPropsMixin.FunctionScalingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnVersionPropsMixin_FunctionScalingConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnVersionPropsMixin.FunctionScalingConfigProperty |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnVersionPropsMixin.FunctionScalingConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnVersionPropsMixin » 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 { mixins as lambda_mixins } from '@aws-cdk/mixins-preview/aws-lambda';
const functionScalingConfigProperty: lambda_mixins.CfnVersionPropsMixin.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