IdleSettingsProperty Struct
Settings related to idle shutdown of Studio applications.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const idleSettingsProperty: sagemaker.CfnUserProfile.IdleSettingsProperty = {
idleTimeoutInMinutes: 123,
lifecycleManagement: 'lifecycleManagement',
maxIdleTimeoutInMinutes: 123,
minIdleTimeoutInMinutes: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
idle_settings_property = sagemaker.CfnUserProfile.IdleSettingsProperty(
idle_timeout_in_minutes=123,
lifecycle_management="lifecycleManagement",
max_idle_timeout_in_minutes=123,
min_idle_timeout_in_minutes=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
IdleSettingsProperty idleSettingsProperty = IdleSettingsProperty.builder()
.idleTimeoutInMinutes(123)
.lifecycleManagement("lifecycleManagement")
.maxIdleTimeoutInMinutes(123)
.minIdleTimeoutInMinutes(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var idleSettingsProperty = new IdleSettingsProperty {
IdleTimeoutInMinutes = 123,
LifecycleManagement = "lifecycleManagement",
MaxIdleTimeoutInMinutes = 123,
MinIdleTimeoutInMinutes = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
idleSettingsProperty := &IdleSettingsProperty{
IdleTimeoutInMinutes: jsii.Number(123),
LifecycleManagement: jsii.String("lifecycleManagement"),
MaxIdleTimeoutInMinutes: jsii.Number(123),
MinIdleTimeoutInMinutes: jsii.Number(123),
}
Properties
idleTimeoutInMinutesoptionalnumberidle_timeout_in_minutesoptionalint | floatidleTimeoutInMinutesoptionalNumberIdleTimeoutInMinutesoptionaldoubleIdleTimeoutInMinutesoptional*float64 #The time that SageMaker waits after the application becomes idle before shutting it down.
lifecycleManagementoptionalstringlifecycle_managementoptionalstrlifecycleManagementoptionalStringLifecycleManagementoptionalstringLifecycleManagementoptional*string #Indicates whether idle shutdown is activated for the application type.
maxIdleTimeoutInMinutesoptionalnumbermax_idle_timeout_in_minutesoptionalint | floatmaxIdleTimeoutInMinutesoptionalNumberMaxIdleTimeoutInMinutesoptionaldoubleMaxIdleTimeoutInMinutesoptional*float64 #The maximum value in minutes that custom idle shutdown can be set to by the user.
minIdleTimeoutInMinutesoptionalnumbermin_idle_timeout_in_minutesoptionalint | floatminIdleTimeoutInMinutesoptionalNumberMinIdleTimeoutInMinutesoptionaldoubleMinIdleTimeoutInMinutesoptional*float64 #The minimum value in minutes that custom idle shutdown can be set to by the user.