interface ProvisionedPollerConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.ProvisionedPollerConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#ProvisionedPollerConfig |
Java | software.amazon.awscdk.services.lambda.ProvisionedPollerConfig |
Python | aws_cdk.aws_lambda.ProvisionedPollerConfig |
TypeScript (source) | aws-cdk-lib » aws_lambda » ProvisionedPollerConfig |
(Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source.
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 provisionedPollerConfig: lambda.ProvisionedPollerConfig = {
maximumPollers: 123,
minimumPollers: 123,
pollerGroupName: 'pollerGroupName',
};
Properties
| Name | Type | Description |
|---|---|---|
| maximum | number | The maximum number of pollers that can be provisioned. |
| minimum | number | The minimum number of pollers that should be provisioned. |
| poller | string | An optional identifier that groups multiple ESMs to share EPU capacity and reduce costs. |
maximumPollers?
Type:
number
(optional, default: 200)
The maximum number of pollers that can be provisioned.
minimumPollers?
Type:
number
(optional, default: 1)
The minimum number of pollers that should be provisioned.
pollerGroupName?
Type:
string
(optional, default: not set, dedicated compute resource per event source.)
An optional identifier that groups multiple ESMs to share EPU capacity and reduce costs.
ESMs with the same PollerGroupName share compute resources.

.NET
Go
Java
Python
TypeScript (