Class: Aws::Batch::Types::InfrastructureOptimization

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

Overview

The infrastructure optimization configuration for an Amazon ECS Managed Instances capacity provider. Specifies the idle-instance scale-in behavior.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#scale_in_afterInteger

The number of seconds an instance can remain idle before it is terminated. Valid values are -1 or 0 to 3600. Use -1 as a special value to disable scale-in (instances are never terminated for being idle). If not specified, a default value applies.

Returns:

  • (Integer)


6436
6437
6438
6439
6440
# File 'lib/aws-sdk-batch/types.rb', line 6436

class InfrastructureOptimization < Struct.new(
  :scale_in_after)
  SENSITIVE = []
  include Aws::Structure
end