# ProvisionedPollerConfig

(Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source.

- Source: [`aws-lambda/lib/event-source-mapping.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-lambda/lib/event-source-mapping.ts#L97)
- Type last changed: v2.254.0 · 13 May 2026

## 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 provisionedPollerConfig: lambda.ProvisionedPollerConfig = {
  maximumPollers: 123,
  minimumPollers: 123,
  pollerGroupName: 'pollerGroupName',
};
```

## Properties

- `maximumPollers`: number = 200 — The maximum number of pollers that can be provisioned.

  Valid Range:
  * For Amazon SQS: Minimum value of 2. Maximum value of 2000. Default: 200.
  * For Amazon MSK, self-managed Apache Kafka, and Amazon MQ: Minimum value of 1. Maximum value of 2000. Default: 200.

- `minimumPollers`: number — The minimum number of pollers that should be provisioned.

  **Default:** 2 for SQS, 1 for MSK/Kafka/MQ

  Valid Range:
  * For Amazon SQS: Minimum value of 2. Maximum value of 200. Default: 2.
  * For Amazon MSK, self-managed Apache Kafka, and Amazon MQ: Minimum value of 1. Maximum value of 200. Default: 1.

- `pollerGroupName`: string — An optional identifier that groups multiple ESMs to share EPU capacity and reduce costs.

  **Default:** not set, dedicated compute resource per event source.

  ESMs with the same PollerGroupName share compute
  resources.
