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

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

Overview

Note:

When making an API call, you may pass AwsEcsServiceCapacityProviderStrategyDetails data as a hash:

{
  base: 1,
  capacity_provider: "NonEmptyString",
  weight: 1,
}

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)


5974
5975
5976
5977
5978
5979
5980
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5974

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

#capacity_providerString

The short name of the capacity provider.

Returns:

  • (String)


5974
5975
5976
5977
5978
5979
5980
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5974

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)


5974
5975
5976
5977
5978
5979
5980
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5974

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