# ScalingConfigProperty

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

To remove the configuration, pass an empty value.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

scaling_config_property = lambda.CfnEventSourceMapping.ScalingConfigProperty(
    maximum_concurrency=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

ScalingConfigProperty scalingConfigProperty = ScalingConfigProperty.builder()
        .maximumConcurrency(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var scalingConfigProperty = new ScalingConfigProperty {
    MaximumConcurrency = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

scalingConfigProperty := &ScalingConfigProperty{
	MaximumConcurrency: jsii.Number(123),
}
```

## Properties

- `maximumConcurrency`: number — Limits the number of concurrent instances that the Amazon SQS event source can invoke.
