Class: Aws::ECS::Types::Scale

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

The unit of measure for the scale value.

Returns:

  • (String)


9202
9203
9204
9205
9206
9207
# File 'lib/aws-sdk-ecs/types.rb', line 9202

class Scale < Struct.new(
  :value,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#valueFloat

The value, specified as a percent total of a service’s ‘desiredCount`, to scale the task set. Accepted values are numbers between 0 and 100.

Returns:

  • (Float)


9202
9203
9204
9205
9206
9207
# File 'lib/aws-sdk-ecs/types.rb', line 9202

class Scale < Struct.new(
  :value,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end