# JupyterLabAppSettingsProperty

The settings for the JupyterLab application.

- Source: Generated code
- Type last changed: v2.196.0 · 16 May 2025

## 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 jupyterLabAppSettingsProperty: sagemaker.CfnDomain.JupyterLabAppSettingsProperty = {
  appLifecycleManagement: {
    idleSettings: {
      idleTimeoutInMinutes: 123,
      lifecycleManagement: 'lifecycleManagement',
      maxIdleTimeoutInMinutes: 123,
      minIdleTimeoutInMinutes: 123,
    },
  },
  builtInLifecycleConfigArn: 'builtInLifecycleConfigArn',
  codeRepositories: [{
    repositoryUrl: 'repositoryUrl',
  }],
  customImages: [{
    appImageConfigName: 'appImageConfigName',
    imageName: 'imageName',

    // the properties below are optional
    imageVersionNumber: 123,
  }],
  defaultResourceSpec: {
    instanceType: 'instanceType',
    lifecycleConfigArn: 'lifecycleConfigArn',
    sageMakerImageArn: 'sageMakerImageArn',
    sageMakerImageVersionArn: 'sageMakerImageVersionArn',
    trainingPlanArn: 'trainingPlanArn',
  },
  lifecycleConfigArns: ['lifecycleConfigArns'],
};
```

## Properties

- `appLifecycleManagement`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.AppLifecycleManagementProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnDomain.AppLifecycleManagementProperty.html) — Indicates whether idle shutdown is activated for JupyterLab applications.

- `builtInLifecycleConfigArn`: string — The lifecycle configuration that runs before the default lifecycle configuration.

  It can override changes made in the default lifecycle configuration.

- `codeRepositories`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.CodeRepositoryProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnDomain.CodeRepositoryProperty.html)[] — A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.

- `customImages`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.CustomImageProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnDomain.CustomImageProperty.html)[] — A list of custom SageMaker images that are configured to run as a JupyterLab app.

- `defaultResourceSpec`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.ResourceSpecProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnDomain.ResourceSpecProperty.html) — The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.

- `lifecycleConfigArns`: string[] — The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain.

  To remove a lifecycle config, you must set `LifecycleConfigArns` to an empty list.
