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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


9863
9864
9865
9866
9867
9868
9869
# File 'lib/aws-sdk-securityhub/types.rb', line 9863

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

#capacity_providerString

The short name of the capacity provider.

Returns:

  • (String)


9863
9864
9865
9866
9867
9868
9869
# File 'lib/aws-sdk-securityhub/types.rb', line 9863

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)


9863
9864
9865
9866
9867
9868
9869
# File 'lib/aws-sdk-securityhub/types.rb', line 9863

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