-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCluster_AutoTerminationPolicyProperty.go
27 lines (24 loc) · 1.28 KB
/
CfnCluster_AutoTerminationPolicyProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package awsemr
// 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](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html) .
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// autoTerminationPolicyProperty := &AutoTerminationPolicyProperty{
// IdleTimeout: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-autoterminationpolicy.html
//
type CfnCluster_AutoTerminationPolicyProperty struct {
// 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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-autoterminationpolicy.html#cfn-emr-cluster-autoterminationpolicy-idletimeout
//
IdleTimeout *float64 `field:"optional" json:"idleTimeout" yaml:"idleTimeout"`
}