Class: Aws::Pipes::Types::CapacityProviderStrategyItem
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pipes::Types::CapacityProviderStrategyItem
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pipes/types.rb
Overview
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
Constant Summary collapse
- SENSITIVE =
[:capacity_provider]
Instance Attribute Summary collapse
-
#base ⇒ Integer
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.
-
#weight ⇒ Integer
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
Instance Attribute Details
#base ⇒ Integer
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.
380 381 382 383 384 385 386 |
# File 'lib/aws-sdk-pipes/types.rb', line 380 class CapacityProviderStrategyItem < Struct.new( :capacity_provider, :weight, :base) SENSITIVE = [:capacity_provider] include Aws::Structure end |
#capacity_provider ⇒ String
The short name of the capacity provider.
380 381 382 383 384 385 386 |
# File 'lib/aws-sdk-pipes/types.rb', line 380 class CapacityProviderStrategyItem < Struct.new( :capacity_provider, :weight, :base) SENSITIVE = [:capacity_provider] include Aws::Structure end |
#weight ⇒ Integer
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.
380 381 382 383 384 385 386 |
# File 'lib/aws-sdk-pipes/types.rb', line 380 class CapacityProviderStrategyItem < Struct.new( :capacity_provider, :weight, :base) SENSITIVE = [:capacity_provider] include Aws::Structure end |