ProvisionedPollerConfig

class aws_cdk.aws_lambda.ProvisionedPollerConfig(*, maximum_pollers=None, minimum_pollers=None)

Bases: object

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

Parameters:
  • maximum_pollers (Union[int, float, None]) – The maximum number of pollers that can be provisioned. Default: - 200

  • minimum_pollers (Union[int, float, None]) – The minimum number of pollers that should be provisioned. Default: - 1

ExampleMetadata:

fixture=_generated

Example:

# 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_

provisioned_poller_config = lambda.ProvisionedPollerConfig(
    maximum_pollers=123,
    minimum_pollers=123
)

Attributes

maximum_pollers

The maximum number of pollers that can be provisioned.

Default:
  • 200

minimum_pollers

The minimum number of pollers that should be provisioned.

Default:
  • 1