interface AutoStopConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EMRServerless.CfnApplication.AutoStopConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsemrserverless#CfnApplication_AutoStopConfigurationProperty |
Java | software.amazon.awscdk.services.emrserverless.CfnApplication.AutoStopConfigurationProperty |
Python | aws_cdk.aws_emrserverless.CfnApplication.AutoStopConfigurationProperty |
TypeScript | aws-cdk-lib » aws_emrserverless » CfnApplication » AutoStopConfigurationProperty |
Configuration for Auto Stop of Application.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrserverless as emrserverless } from 'aws-cdk-lib';
const autoStopConfigurationProperty: emrserverless.CfnApplication.AutoStopConfigurationProperty = {
enabled: false,
idleTimeoutMinutes: 123,
};
Properties
Name | Type | Description |
---|---|---|
enabled? | boolean | IResolvable | If set to true, the Application will automatically stop after being idle. |
idle | number | The amount of time [in minutes] to wait before auto stopping the Application when idle. |
enabled?
Type:
boolean |
IResolvable
(optional, default: true)
If set to true, the Application will automatically stop after being idle.
Defaults to true.
idleTimeoutMinutes?
Type:
number
(optional)
The amount of time [in minutes] to wait before auto stopping the Application when idle.
Defaults to 15 minutes.