class
Amazonite::EventBridge::CapacityProviderStrategyItem
- Amazonite::EventBridge::CapacityProviderStrategyItem
- Reference
- Object
Overview
The details of a capacity provider strategy. To learn more, see CapacityProviderStrategyItem in the Amazon ECS API Reference.
Included Modules
- JSON::Serializable
Defined in:
eventbridge/capacity_provider_strategy_item.crConstructors
- .new(pull : JSON::PullParser)
- .new(capacity_provider : String, weight : Int32 | Nil = nil, base : Int32 | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#base : Int32 | Nil
The base value designates how many tasks, at a minimum, to run on the specified capacity provider.
-
#base=(base : Int32 | Nil)
The base value designates how many tasks, at a minimum, to run on the specified capacity provider.
-
#capacity_provider : String
The short name of the capacity provider.
-
#capacity_provider=(capacity_provider : String)
The short name of the capacity provider.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
-
#weight : Int32 | Nil
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
-
#weight=(weight : Int32 | Nil)
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.
The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied.
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied.