interface AutoStopConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EMRServerless.CfnApplication.AutoStopConfigurationProperty |
Java | software.amazon.awscdk.services.emrserverless.CfnApplication.AutoStopConfigurationProperty |
Python | aws_cdk.aws_emrserverless.CfnApplication.AutoStopConfigurationProperty |
TypeScript | @aws-cdk/aws-emrserverless » CfnApplication » AutoStopConfigurationProperty |
The configuration for an application to automatically stop after a certain amount of time being idle.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as emrserverless from '@aws-cdk/aws-emrserverless';
const autoStopConfigurationProperty: emrserverless.CfnApplication.AutoStopConfigurationProperty = {
enabled: false,
idleTimeoutMinutes: 123,
};
Properties
Name | Type | Description |
---|---|---|
enabled? | boolean | IResolvable | Enables the application to automatically stop after a certain amount of time being idle. |
idle | number | The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes. |
enabled?
Type:
boolean |
IResolvable
(optional)
Enables the application to automatically stop after a certain amount of time being idle.
Defaults to true.
idleTimeoutMinutes?
Type:
number
(optional)
The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
Minimum : 1
Maximum : 10080