SpaceIdleSettingsProperty Struct
Settings related to idle shutdown of Studio applications in a space.
| 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 spaceIdleSettingsProperty: sagemaker.CfnSpace.SpaceIdleSettingsProperty = {
idleTimeoutInMinutes: 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
space_idle_settings_property = sagemaker.CfnSpace.SpaceIdleSettingsProperty(
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.*;
SpaceIdleSettingsProperty spaceIdleSettingsProperty = SpaceIdleSettingsProperty.builder()
.idleTimeoutInMinutes(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 spaceIdleSettingsProperty = new SpaceIdleSettingsProperty {
IdleTimeoutInMinutes = 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"
spaceIdleSettingsProperty := &SpaceIdleSettingsProperty{
IdleTimeoutInMinutes: jsii.Number(123),
}
Properties
idleTimeoutInMinutesoptionalnumberidle_timeout_in_minutesoptionalint | floatidleTimeoutInMinutesoptionalNumberIdleTimeoutInMinutesoptionaldoubleIdleTimeoutInMinutesoptional*float64 #The time that SageMaker waits after the application becomes idle before shutting it down.