Skip to content
v2.274.0

ScalingConfigProperty Struct ​

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

To remove the configuration, pass an empty value.

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

Properties ​

maximumConcurrencyoptionalnumbermaximum_concurrencyoptionalint | floatmaximumConcurrencyoptionalNumberMaximumConcurrencyoptionaldoubleMaximumConcurrencyoptional*float64#
Limits the number of concurrent instances that the Amazon SQS event source can invoke.