EMR / Client / get_auto_termination_policy

get_auto_termination_policy#

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'
)
Parameters:

ClusterId (string) –

[REQUIRED]

Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.

Return type:

dict

Returns:

Response Syntax

{
    'AutoTerminationPolicy': {
        'IdleTimeout': 123
    }
}

Response Structure

  • (dict) –

    • AutoTerminationPolicy (dict) –

      Specifies the auto-termination policy that is attached to an Amazon EMR cluster.

      • IdleTimeout (integer) –

        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).