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 service. This is used when a service uses the ‘CODE_DEPLOY` deployment controller type.

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

The unit of measure for the scale value.

Returns:

  • (String)


5455
5456
5457
5458
5459
# File 'lib/aws-sdk-ecs/types.rb', line 5455

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

#valueFloat

The value, specified as a percent total of a service’s ‘desiredCount`, to scale the task set.

Returns:

  • (Float)


5455
5456
5457
5458
5459
# File 'lib/aws-sdk-ecs/types.rb', line 5455

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