Class: Aws::SecurityHub::Types::AwsEcsServiceCapacityProviderStrategyDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Strategy item for the capacity provider strategy that the service uses.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#baseInteger

The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

The value must be between 0 and 100000.

Returns:

  • (Integer)


9512
9513
9514
9515
9516
9517
9518
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9512

class AwsEcsServiceCapacityProviderStrategyDetails < Struct.new(
  :base,
  :capacity_provider,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_providerString

The short name of the capacity provider.

Returns:

  • (String)


9512
9513
9514
9515
9516
9517
9518
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9512

class AwsEcsServiceCapacityProviderStrategyDetails < Struct.new(
  :base,
  :capacity_provider,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end

#weightInteger

The relative percentage of the total number of tasks that should use the capacity provider.

If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

The value can be between 0 and 1000.

Returns:

  • (Integer)


9512
9513
9514
9515
9516
9517
9518
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9512

class AwsEcsServiceCapacityProviderStrategyDetails < Struct.new(
  :base,
  :capacity_provider,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end