Skip to content
v2.274.0

SpaceJupyterLabAppSettingsProperty Struct ​

The settings for the JupyterLab application within a space.

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 spaceJupyterLabAppSettingsProperty: sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty = {
  appLifecycleManagement: {
    idleSettings: {
      idleTimeoutInMinutes: 123,
    },
  },
  codeRepositories: [{
    repositoryUrl: 'repositoryUrl',
  }],
  defaultResourceSpec: {
    instanceType: 'instanceType',
    lifecycleConfigArn: 'lifecycleConfigArn',
    sageMakerImageArn: 'sageMakerImageArn',
    sageMakerImageVersionArn: 'sageMakerImageVersionArn',
    trainingPlanArn: 'trainingPlanArn',
  },
};

Properties ​

appLifecycleManagementoptionalIResolvable | CfnSpace.SpaceAppLifecycleManagementPropertyapp_lifecycle_managementoptionaltyping.Union[IResolvable, SpaceAppLifecycleManagementProperty]appLifecycleManagementoptionalIResolvableAppLifecycleManagementoptionalIResolvableAppLifecycleManagementoptionalinterface{}#
Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space.
codeRepositoriesoptionalIResolvable | IResolvable | CfnSpace.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.
defaultResourceSpecoptionalIResolvable | CfnSpace.ResourceSpecPropertydefault_resource_specoptionaltyping.Union[IResolvable, ResourceSpecProperty]defaultResourceSpecoptionalIResolvableDefaultResourceSpecoptionalIResolvableDefaultResourceSpecoptionalinterface{}#
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.