Class: Aws::EMRServerless::Types::AutoStopConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb

Overview

The configuration for an application to automatically stop after a certain amount of time being idle.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.

Returns:

  • (Boolean)


240
241
242
243
244
245
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 240

class AutoStopConfig < Struct.new(
  :enabled,
  :idle_timeout_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#idle_timeout_minutesInteger

The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.

Returns:

  • (Integer)


240
241
242
243
244
245
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 240

class AutoStopConfig < Struct.new(
  :enabled,
  :idle_timeout_minutes)
  SENSITIVE = []
  include Aws::Structure
end