enum EmrClusterScaleDownBehavior
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.EmrClusterScaleDownBehavior |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EmrCreateCluster_EmrClusterScaleDownBehavior |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.EmrClusterScaleDownBehavior |
![]() | aws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.EmrClusterScaleDownBehavior |
![]() | aws-cdk-lib » aws_stepfunctions_tasks » 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.
Members
Name | Description |
---|---|
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. |
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.
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.