EMR.Client.
get_auto_termination_policy
(**kwargs)¶Returns the auto-termination policy for an Amazon EMR cluster.
See also: AWS API Documentation
Request Syntax
response = client.get_auto_termination_policy(
ClusterId='string'
)
[REQUIRED]
Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.
{
'AutoTerminationPolicy': {
'IdleTimeout': 123
}
}
Response Structure
Specifies the auto-termination policy that is attached to an Amazon EMR cluster.
Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).