Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_auto_termination_policy

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