AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Scale as input to an Aws::Client method, you can use a vanilla Hash:

{
  value: 1.0,
  unit: "PERCENT", # accepts PERCENT
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

The unit of measure for the scale value.

Possible values:

  • PERCENT

Returns:

  • (String)

    The unit of measure for the scale value.

#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)

    The value, specified as a percent total of a service\'s desiredCount, to scale the task set.