Skip to content
v2.278.0

AppLifecycleManagementProperty Struct ​

Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications.

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 appLifecycleManagementProperty: sagemaker.CfnUserProfile.AppLifecycleManagementProperty = {
  idleSettings: {
    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

app_lifecycle_management_property = sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
    idle_settings=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.*;

AppLifecycleManagementProperty appLifecycleManagementProperty = AppLifecycleManagementProperty.builder()
        .idleSettings(IdleSettingsProperty.builder()
                .idleTimeoutInMinutes(123)
                .lifecycleManagement("lifecycleManagement")
                .maxIdleTimeoutInMinutes(123)
                .minIdleTimeoutInMinutes(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 appLifecycleManagementProperty = new AppLifecycleManagementProperty {
    IdleSettings = 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"

appLifecycleManagementProperty := &AppLifecycleManagementProperty{
	IdleSettings: &IdleSettingsProperty{
		IdleTimeoutInMinutes: jsii.Number(123),
		LifecycleManagement: jsii.String("lifecycleManagement"),
		MaxIdleTimeoutInMinutes: jsii.Number(123),
		MinIdleTimeoutInMinutes: jsii.Number(123),
	},
}

Properties ​

idleSettingsoptionalIResolvable | CfnUserProfile.IdleSettingsPropertyidle_settingsoptionaltyping.Union[IResolvable, IdleSettingsProperty]idleSettingsoptionalIResolvableIdleSettingsoptionalIResolvableIdleSettingsoptionalinterface{} #
Settings related to idle shutdown of Studio applications.