Skip to content

CapacityProviderStrategyItem

Source code in docs_src/capo_cloudwatch_events/types/capacity_provider_strategy_item.py
class CapacityProviderStrategyItem(TypedDict, closed=True):
    capacity_provider: "capo_cloudwatch_events.types.capacity_provider.CapacityProvider"
    """<p>The short name of the capacity provider.</p>"""
    weight: "capo_cloudwatch_events.types.capacity_provider_strategy_item_weight.CapacityProviderStrategyItemWeight"
    """<p>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.</p>"""
    base: "capo_cloudwatch_events.types.capacity_provider_strategy_item_base.CapacityProviderStrategyItemBase"
    """<p>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. </p>"""

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.