CapacityProviderStrategyItem
¶
Source code in docs_src/capo_cloudwatch_events/types/capacity_provider_strategy_item.py
base
instance-attribute
¶
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.
capacity_provider
instance-attribute
¶
capacity_provider: CapacityProvider
The short name of the capacity provider.
weight
instance-attribute
¶
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.