Learn R Programming

paws.analytics (version 0.7.0)

emr_set_keep_job_flow_alive_when_no_steps: 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.

See https://www.paws-r-sdk.com/docs/emr_set_keep_job_flow_alive_when_no_steps/ for full documentation.

Usage

emr_set_keep_job_flow_alive_when_no_steps(
  JobFlowIds,
  KeepJobFlowAliveWhenNoSteps
)

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 from describe_job_flows.

KeepJobFlowAliveWhenNoSteps

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