class
Amazonite::Lambda::ProvisionedPollerConfig
- Amazonite::Lambda::ProvisionedPollerConfig
- Reference
- Object
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.
Included Modules
- JSON::Serializable
Defined in:
lambda/provisioned_poller_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(minimum_pollers : Int32 | Nil = nil, maximum_pollers : Int32 | Nil = nil, poller_group_name : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#maximum_pollers : Int32 | Nil
The maximum number of event pollers this event source can scale up to.
-
#maximum_pollers=(maximum_pollers : Int32 | Nil)
The maximum number of event pollers this event source can scale up to.
-
#minimum_pollers : Int32 | Nil
The minimum number of event pollers this event source can scale down to.
-
#minimum_pollers=(minimum_pollers : Int32 | Nil)
The minimum number of event pollers this event source can scale down to.
-
#poller_group_name : String | Nil
(Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group.
-
#poller_group_name=(poller_group_name : String | Nil)
(Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
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.
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.
(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.
(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.