Amazon EMR

2023/12/27 - Amazon EMR - 1 new api methods

Changes  Add support for customers to modify cluster attribute auto-terminate post cluster launch

SetKeepJobFlowAliveWhenNoSteps (new) Link ΒΆ

You can use the SetKeepJobFlowAliveWhenNoSteps to configure a cluster (job flow) to terminate after the step execution, i.e., all your steps are executed. If you want a transient cluster that shuts down after the last of the current executing steps are completed, you can configure SetKeepJobFlowAliveWhenNoSteps to false. If you want a long running cluster, configure SetKeepJobFlowAliveWhenNoSteps to true.

For more information, see Managing Cluster Termination in the Amazon EMR Management Guide .

See also: AWS API Documentation

Request Syntax

type JobFlowIds


param JobFlowIds


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

  • (string) --

type KeepJobFlowAliveWhenNoSteps


param KeepJobFlowAliveWhenNoSteps


A Boolean that indicates whether to terminate the cluster after all steps are executed.