C# 클래스 Amazon.ElasticMapReduce.Model.SetTerminationProtectionRequest

Container for the parameters to the SetTerminationProtection operation. SetTerminationProtection locks a job flow so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a job flow is analogous to calling the Amazon EC2 DisableAPITermination API on all of the EC2 instances in a cluster.

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, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false.

For more information, seeProtecting a Job Flow from Termination in the Amazon EMR Guide.

상속: AmazonElasticMapReduceRequest
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

비공개 메소드들

메소드 설명
IsSetJobFlowIds ( ) : bool
IsSetTerminationProtected ( ) : bool