Class: Aws::Scheduler::Types::CapacityProviderStrategyItem
- Inherits:
-
Struct
- Object
- Struct
- Aws::Scheduler::Types::CapacityProviderStrategyItem
- Defined in:
- gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb
Overview
The details of a capacity provider strategy.
Constant Summary collapse
- SENSITIVE =
[]
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.
67 68 69 70 71 72 73 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 67 class CapacityProviderStrategyItem < Struct.new( :base, :capacity_provider, :weight) SENSITIVE = [] include Aws::Structure end |
#capacity_provider ⇒ String
The short name of the capacity provider.
67 68 69 70 71 72 73 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 67 class CapacityProviderStrategyItem < Struct.new( :base, :capacity_provider, :weight) SENSITIVE = [] 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.
67 68 69 70 71 72 73 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 67 class CapacityProviderStrategyItem < Struct.new( :base, :capacity_provider, :weight) SENSITIVE = [] include Aws::Structure end |