Class: Aws::EMR::Types::PutAutoTerminationPolicyInput

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

Overview

Note:

When making an API call, you may pass PutAutoTerminationPolicyInput data as a hash:

{
  cluster_id: "ClusterId", # required
  auto_termination_policy: {
    idle_timeout: 1,
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_termination_policyTypes::AutoTerminationPolicy

Specifies the auto-termination policy to attach to the cluster.



5870
5871
5872
5873
5874
5875
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5870

class PutAutoTerminationPolicyInput < Struct.new(
  :cluster_id,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_idString

Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.

Returns:

  • (String)


5870
5871
5872
5873
5874
5875
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5870

class PutAutoTerminationPolicyInput < Struct.new(
  :cluster_id,
  :auto_termination_policy)
  SENSITIVE = []
  include Aws::Structure
end