Interface CfnCluster.AutoTerminationPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.AutoTerminationPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.AutoTerminationPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.emr.*; AutoTerminationPolicyProperty autoTerminationPolicyProperty = AutoTerminationPolicyProperty.builder() .idleTimeout(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.AutoTerminationPolicyProperty
static final class
An implementation forCfnCluster.AutoTerminationPolicyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdleTimeout
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).
- See Also:
-
builder
-