Skip to content
v2.275.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 ​

appLifecycleManagementoptionalIResolvable | CfnDomain.AppLifecycleManagementPropertyapp_lifecycle_managementoptionaltyping.Union[IResolvable, AppLifecycleManagementProperty]appLifecycleManagementoptionalIResolvableAppLifecycleManagementoptionalIResolvableAppLifecycleManagementoptionalinterface{}#
Indicates whether idle shutdown is activated for JupyterLab applications.
builtInLifecycleConfigArnoptionalstringbuilt_in_lifecycle_config_arnoptionalstrbuiltInLifecycleConfigArnoptionalStringBuiltInLifecycleConfigArnoptionalstringBuiltInLifecycleConfigArnoptional*string#
The lifecycle configuration that runs before the default lifecycle configuration.

It can override changes made in the default lifecycle configuration.

codeRepositoriesoptionalIResolvable | IResolvable | CfnDomain.CodeRepositoryProperty[]code_repositoriesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CodeRepositoryProperty]]]codeRepositoriesoptionalIResolvableCodeRepositoriesoptionalIResolvableCodeRepositoriesoptionalinterface{}#
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
customImagesoptionalIResolvable | IResolvable | CfnDomain.CustomImageProperty[]custom_imagesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CustomImageProperty]]]customImagesoptionalIResolvableCustomImagesoptionalIResolvableCustomImagesoptionalinterface{}#
A list of custom SageMaker images that are configured to run as a JupyterLab app.
defaultResourceSpecoptionalIResolvable | CfnDomain.ResourceSpecPropertydefault_resource_specoptionaltyping.Union[IResolvable, ResourceSpecProperty]defaultResourceSpecoptionalIResolvableDefaultResourceSpecoptionalIResolvableDefaultResourceSpecoptionalinterface{}#
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
lifecycleConfigArnsoptionalstring[]lifecycle_config_arnsoptionaltyping.List[str]lifecycleConfigArnsoptionalList<String>LifecycleConfigArnsoptionalstring[]LifecycleConfigArnsoptional*[]*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.