interface ScalingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnWebFunctionEndpoint.ScalingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnWebFunctionEndpoint_ScalingConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnWebFunctionEndpoint.ScalingConfigProperty |
Python | aws_cdk.aws_lambda.CfnWebFunctionEndpoint.ScalingConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnWebFunctionEndpoint » ScalingConfigProperty |
The scaling configuration for the endpoint.
Optionally constrains how many concurrent execution environments the endpoint can use, in addition to your account's vCPU quota.
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 scalingConfigProperty: lambda.CfnWebFunctionEndpoint.ScalingConfigProperty = {
maxEnvironments: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| max | number | The maximum number of concurrent execution environments for the endpoint. |
maxEnvironments?
Type:
number
(optional)
The maximum number of concurrent execution environments for the endpoint.
This optional limit further constrains the endpoint's scaling. When omitted, the endpoint's scaling is limited only by your account's vCPU quota.

.NET
Go
Java
Python
TypeScript