SetTerminationProtection is used to prevent accidental termination of a job flow and to ensure that in the event of an error, the instances will persist so you can recover any data stored in their ephemeral instance storage.
To terminate a job flow that has been locked by setting SetTerminationProtection
to true
false
For more information, go to Protecting a Job Flow from Termination in the Amazon Elastic MapReduce Developer's Guide.
C# |
public class SetTerminationProtectionRequest : AmazonWebServiceRequest
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
SetTerminationProtectionRequest()()()() | Initializes a new instance of the SetTerminationProtectionRequest class | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
JobFlowIds |
Gets and sets the property JobFlowIds.
A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows . | |
TerminationProtected |
Gets and sets the property TerminationProtected.
A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error. | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithJobFlowIds(array<String>[]()[][]) | Obsolete.
Sets the JobFlowIds property
| |
WithJobFlowIds(IEnumerable<(Of <<'(String>)>>)) | Obsolete.
Sets the JobFlowIds property
| |
WithTerminationProtected(Boolean) | Obsolete.
Sets the TerminationProtected property
|
Object | ||
AmazonWebServiceRequest | ||
SetTerminationProtectionRequest |