Interface ProvisionedPollerConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ProvisionedPollerConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:12.815Z") @Stability(Stable) public interface ProvisionedPollerConfig extends software.amazon.jsii.JsiiSerializable
(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 software.amazon.awscdk.services.lambda.*;
 ProvisionedPollerConfig provisionedPollerConfig = ProvisionedPollerConfig.builder()
         .maximumPollers(123)
         .minimumPollers(123)
         .pollerGroupName("pollerGroupName")
         .build();
 
  • Method Details

    • getMaximumPollers

      @Stability(Stable) @Nullable default Number getMaximumPollers()
      The maximum number of pollers that can be provisioned.

      Default: - 200

    • getMinimumPollers

      @Stability(Stable) @Nullable default Number getMinimumPollers()
      The minimum number of pollers that should be provisioned.

      Default: - 1

    • getPollerGroupName

      @Stability(Stable) @Nullable default String getPollerGroupName()
      An optional identifier that groups multiple ESMs to share EPU capacity and reduce costs.

      ESMs with the same PollerGroupName share compute resources.

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

    • builder

      @Stability(Stable) static ProvisionedPollerConfig.Builder builder()
      Returns:
      a ProvisionedPollerConfig.Builder of ProvisionedPollerConfig