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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/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)


6350
6351
6352
6353
6354
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6350

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