Class CfnCluster.AutoTerminationPolicyProperty
An auto-termination policy for an Amazon EMR cluster.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AutoTerminationPolicyProperty : Object, CfnCluster.IAutoTerminationPolicyProperty
Syntax (vb)
Public Class AutoTerminationPolicyProperty
Inherits Object
Implements CfnCluster.IAutoTerminationPolicyProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;
var autoTerminationPolicyProperty = new AutoTerminationPolicyProperty {
IdleTimeout = 123
};
Synopsis
Constructors
Auto |
Properties
Idle |
Specifies the amount of idle time in seconds after which the cluster automatically terminates. |
Constructors
AutoTerminationPolicyProperty()
public AutoTerminationPolicyProperty()
Properties
IdleTimeout
Specifies the amount of idle time in seconds after which the cluster automatically terminates.
public Nullable<double> IdleTimeout { get; set; }
Property Value
System.
Remarks
You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).