# AppLifecycleManagementProperty

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

- Source: Generated at build time
- Type last changed: v2.159.0 · 19 Sep 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
    }
};
```

Golang:

```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

- `idleSettings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserProfile.IdleSettingsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.IdleSettingsProperty.html) — Settings related to idle shutdown of Studio applications.
