Skip to content

Put Auto Termination Policy

emr_put_auto_termination_policy R Documentation

Auto-termination is supported in Amazon EMR releases 5

Description

Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later. For more information, see Using an auto-termination policy.

Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.

Usage

emr_put_auto_termination_policy(ClusterId, AutoTerminationPolicy)

Arguments

ClusterId

[required] Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.

AutoTerminationPolicy

Specifies the auto-termination policy to attach to the cluster.

Value

An empty list.

Request syntax

svc$put_auto_termination_policy(
  ClusterId = "string",
  AutoTerminationPolicy = list(
    IdleTimeout = 123
  )
)