Class EmrCreateCluster.EmrClusterScaleDownBehavior
The Cluster ScaleDownBehavior specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class EmrClusterScaleDownBehavior : Enum
Syntax (vb)
Public NotInheritable Class EmrClusterScaleDownBehavior
Inherits
Enum
Remarks
Synopsis
Fields
TERMINATE_AT_INSTANCE_HOUR | Indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. |
TERMINATE_AT_TASK_COMPLETION | Indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. |
value__ |
Fields
TERMINATE_AT_INSTANCE_HOUR
Indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted.
public const EmrCreateCluster.EmrClusterScaleDownBehavior TERMINATE_AT_INSTANCE_HOUR
Field Value
Type | Description |
---|---|
EmrCreateCluster.EmrClusterScaleDownBehavior |
Remarks
This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version
TERMINATE_AT_TASK_COMPLETION
Indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary.
public const EmrCreateCluster.EmrClusterScaleDownBehavior TERMINATE_AT_TASK_COMPLETION
Field Value
Type | Description |
---|---|
EmrCreateCluster.EmrClusterScaleDownBehavior |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |