Set Keep Job Flow Alive When No Steps
emr_set_keep_job_flow_alive_when_no_steps | R Documentation |
You can use the SetKeepJobFlowAliveWhenNoSteps to configure a cluster (job flow) to terminate after the step execution, i¶
Description¶
You can use the set_keep_job_flow_alive_when_no_steps
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 set_keep_job_flow_alive_when_no_steps
to false. If you want
a long running cluster, configure
set_keep_job_flow_alive_when_no_steps
to true.
For more information, see Managing Cluster Termination in the Amazon EMR Management Guide.
Usage¶
Arguments¶
JobFlowIds
[required] A list of strings that uniquely identify the clusters to protect. This identifier is returned by
run_job_flow
and can also be obtained fromdescribe_job_flows
.KeepJobFlowAliveWhenNoSteps
[required] A Boolean that indicates whether to terminate the cluster after all steps are executed.
Value¶
An empty list.