aws-cdk-lib.aws_lambda.CfnEventSourceMapping.ScalingConfigProperty

interface ScalingConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Lambda.CfnEventSourceMapping.ScalingConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnEventSourceMapping_ScalingConfigProperty
Javasoftware.amazon.awscdk.services.lambda.CfnEventSourceMapping.ScalingConfigProperty
Pythonaws_cdk.aws_lambda.CfnEventSourceMapping.ScalingConfigProperty
TypeScript aws-cdk-lib » aws_lambda » CfnEventSourceMapping » ScalingConfigProperty

(Amazon SQS only) The scaling configuration for the event source.

To remove the configuration, pass an empty value.

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.CfnEventSourceMapping.ScalingConfigProperty = {
  maximumConcurrency: 123,
};

Properties

NameTypeDescription
maximumConcurrency?numberLimits the number of concurrent instances that the Amazon SQS event source can invoke.

maximumConcurrency?

Type: number (optional)

Limits the number of concurrent instances that the Amazon SQS event source can invoke.