Skip to content
v2.274.0

JupyterLabAppSettingsProperty Struct ​

The settings for the JupyterLab application.

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 ​

appLifecycleManagementIResolvable | CfnDomain.AppLifecycleManagementPropertyapp_lifecycle_managementtyping.Union[IResolvable, AppLifecycleManagementProperty]appLifecycleManagementIResolvableAppLifecycleManagementIResolvableAppLifecycleManagementinterface{}#
Indicates whether idle shutdown is activated for JupyterLab applications.
builtInLifecycleConfigArnstringbuilt_in_lifecycle_config_arnstrbuiltInLifecycleConfigArnStringBuiltInLifecycleConfigArnstringBuiltInLifecycleConfigArn*string#
The lifecycle configuration that runs before the default lifecycle configuration.

It can override changes made in the default lifecycle configuration.

codeRepositoriesIResolvable | IResolvable | CfnDomain.CodeRepositoryProperty[]code_repositoriestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CodeRepositoryProperty]]]codeRepositoriesIResolvableCodeRepositoriesIResolvableCodeRepositoriesinterface{}#
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
customImagesIResolvable | IResolvable | CfnDomain.CustomImageProperty[]custom_imagestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CustomImageProperty]]]customImagesIResolvableCustomImagesIResolvableCustomImagesinterface{}#
A list of custom SageMaker images that are configured to run as a JupyterLab app.
defaultResourceSpecIResolvable | CfnDomain.ResourceSpecPropertydefault_resource_spectyping.Union[IResolvable, ResourceSpecProperty]defaultResourceSpecIResolvableDefaultResourceSpecIResolvableDefaultResourceSpecinterface{}#
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
lifecycleConfigArnsstring[]lifecycle_config_arnstyping.List[str]lifecycleConfigArnsList<String>LifecycleConfigArnsstring[]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.