Skip to content

Lambda  >  Structures  >  ProvisionedPollerConfig

ProvisionedPollerConfig

Structure Class

ProvisionedPollerConfig dataclass

The provisioned mode configuration for the event source. Use Provisioned Mode to customize the minimum and maximum number of event pollers for your event source.

Attributes

maximum_pollers class-attribute instance-attribute
maximum_pollers: int | None = None

The maximum number of event pollers this event source can scale up to. For Amazon SQS events source mappings, default is 200, and minimum value allowed is 2. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 200, and minimum value allowed is 1.

minimum_pollers class-attribute instance-attribute
minimum_pollers: int | None = None

The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.

poller_group_name class-attribute instance-attribute
poller_group_name: str | None = None

(Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.