Class: Aws::Lambda::Types::ProvisionedPollerConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#maximum_pollers ⇒ Integer

The maximum number of event pollers this event source can scale up to. For Amazon SQS event source mappings, the accepted range is between 2 and 10,000, with a default of 200. For Amazon MSK and self-managed Apache Kafka event source mappings, the accepted range is between 1 and 2,000, with a default of 200.

Returns:

  • (Integer)


7835
7836
7837
7838
7839
7840
7841
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7835

class ProvisionedPollerConfig < Struct.new(
  :minimum_pollers,
  :maximum_pollers,
  :poller_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#minimum_pollers ⇒ Integer

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.

Returns:

  • (Integer)


7835
7836
7837
7838
7839
7840
7841
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7835

class ProvisionedPollerConfig < Struct.new(
  :minimum_pollers,
  :maximum_pollers,
  :poller_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#poller_group_name ⇒ String

(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.

Returns:

  • (String)


7835
7836
7837
7838
7839
7840
7841
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 7835

class ProvisionedPollerConfig < Struct.new(
  :minimum_pollers,
  :maximum_pollers,
  :poller_group_name)
  SENSITIVE = []
  include Aws::Structure
end