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)


228
229
230
231
232
233
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 228

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)


228
229
230
231
232
233
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 228

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