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
- Struct
- Aws::ECS::Types::Scale
 
- 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
- 
  
    
      #unit  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unit of measure for the scale value. 
- 
  
    
      #value  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value, specified as a percent total of a service\'s desiredCount, to scale the task set.
Instance Attribute Details
#unit ⇒ String
The unit of measure for the scale value.
Possible values:
- PERCENT
#value ⇒ Float
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.