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)


6099
6100
6101
6102
6103
6104
6105
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6099

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

#capacity_providerString

The short name of the capacity provider.

Returns:

  • (String)


6099
6100
6101
6102
6103
6104
6105
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6099

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)


6099
6100
6101
6102
6103
6104
6105
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6099

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