You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EMR::Types::SetTerminationProtectionInput

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 SetTerminationProtectionInput data as a hash:

{
  job_flow_ids: ["XmlString"], # required
  termination_protected: false, # required
}

The input argument to the TerminationProtection operation.

Instance Attribute Summary collapse

Instance Attribute Details

#job_flow_idsArray<String>

A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .

Returns:

  • (Array<String>)


4680
4681
4682
4683
4684
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 4680

class SetTerminationProtectionInput < Struct.new(
  :job_flow_ids,
  :termination_protected)
  include Aws::Structure
end

#termination_protectedBoolean

A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.

Returns:

  • (Boolean)


4680
4681
4682
4683
4684
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 4680

class SetTerminationProtectionInput < Struct.new(
  :job_flow_ids,
  :termination_protected)
  include Aws::Structure
end