class Aws::CloudWatchEvents::Types::CapacityProviderStrategyItem

The details of a capacity provider strategy. To learn more, see

CapacityProviderStrategyItem][1

in the Amazon ECS API Reference.

[1]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CapacityProviderStrategyItem.html

@note When making an API call, you may pass CapacityProviderStrategyItem

data as a hash:

    {
      capacity_provider: "CapacityProvider", # required
      weight: 1,
      base: 1,
    }

@!attribute [rw] capacity_provider

The short name of the capacity provider.
@return [String]

@!attribute [rw] weight

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.
@return [Integer]

@!attribute [rw] base

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.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CapacityProviderStrategyItem AWS API Documentation

Constants

SENSITIVE