SpaceAppLifecycleManagementProperty Struct
Settings that are used to configure and manage the lifecycle of Amazon SageMaker 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 spaceAppLifecycleManagementProperty: sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty = {
idleSettings: {
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_app_lifecycle_management_property = sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
idle_settings=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.*;
SpaceAppLifecycleManagementProperty spaceAppLifecycleManagementProperty = SpaceAppLifecycleManagementProperty.builder()
.idleSettings(SpaceIdleSettingsProperty.builder()
.idleTimeoutInMinutes(123)
.build())
.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 spaceAppLifecycleManagementProperty = new SpaceAppLifecycleManagementProperty {
IdleSettings = 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"
spaceAppLifecycleManagementProperty := &SpaceAppLifecycleManagementProperty{
IdleSettings: &SpaceIdleSettingsProperty{
IdleTimeoutInMinutes: jsii.Number(123),
},
}
Properties
idleSettingsoptionalIResolvable | CfnSpace.idle_settingsoptionaltyping.Union[IResolvable, SpaceIdleSettingsProperty]idleSettingsoptionalIResolvableIdleSettingsoptionalIResolvableIdleSettingsoptionalinterface{} #Settings related to idle shutdown of Studio applications.