Class CfnUserProfile.JupyterLabAppSettingsProperty
The settings for the JupyterLab application.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUserProfile.JupyterLabAppSettingsProperty : CfnUserProfile.IJupyterLabAppSettingsProperty
Syntax (vb)
Public Class CfnUserProfile.JupyterLabAppSettingsProperty Implements CfnUserProfile.IJupyterLabAppSettingsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 jupyterLabAppSettingsProperty = new JupyterLabAppSettingsProperty {
AppLifecycleManagement = new AppLifecycleManagementProperty {
IdleSettings = new IdleSettingsProperty {
IdleTimeoutInMinutes = 123,
LifecycleManagement = "lifecycleManagement",
MaxIdleTimeoutInMinutes = 123,
MinIdleTimeoutInMinutes = 123
}
},
BuiltInLifecycleConfigArn = "builtInLifecycleConfigArn",
CodeRepositories = new [] { new CodeRepositoryProperty {
RepositoryUrl = "repositoryUrl"
} },
CustomImages = new [] { new CustomImageProperty {
AppImageConfigName = "appImageConfigName",
ImageName = "imageName",
// the properties below are optional
ImageVersionNumber = 123
} },
DefaultResourceSpec = new ResourceSpecProperty {
InstanceType = "instanceType",
LifecycleConfigArn = "lifecycleConfigArn",
SageMakerImageArn = "sageMakerImageArn",
SageMakerImageVersionArn = "sageMakerImageVersionArn"
},
LifecycleConfigArns = new [] { "lifecycleConfigArns" }
};
Synopsis
Constructors
JupyterLabAppSettingsProperty() | The settings for the JupyterLab application. |
Properties
AppLifecycleManagement | Indicates whether idle shutdown is activated for JupyterLab applications. |
BuiltInLifecycleConfigArn | The lifecycle configuration that runs before the default lifecycle configuration. |
CodeRepositories | A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application. |
CustomImages | A list of custom SageMaker images that are configured to run as a JupyterLab app. |
DefaultResourceSpec | The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app. |
LifecycleConfigArns | The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. |
Constructors
JupyterLabAppSettingsProperty()
The settings for the JupyterLab application.
public JupyterLabAppSettingsProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 jupyterLabAppSettingsProperty = new JupyterLabAppSettingsProperty {
AppLifecycleManagement = new AppLifecycleManagementProperty {
IdleSettings = new IdleSettingsProperty {
IdleTimeoutInMinutes = 123,
LifecycleManagement = "lifecycleManagement",
MaxIdleTimeoutInMinutes = 123,
MinIdleTimeoutInMinutes = 123
}
},
BuiltInLifecycleConfigArn = "builtInLifecycleConfigArn",
CodeRepositories = new [] { new CodeRepositoryProperty {
RepositoryUrl = "repositoryUrl"
} },
CustomImages = new [] { new CustomImageProperty {
AppImageConfigName = "appImageConfigName",
ImageName = "imageName",
// the properties below are optional
ImageVersionNumber = 123
} },
DefaultResourceSpec = new ResourceSpecProperty {
InstanceType = "instanceType",
LifecycleConfigArn = "lifecycleConfigArn",
SageMakerImageArn = "sageMakerImageArn",
SageMakerImageVersionArn = "sageMakerImageVersionArn"
},
LifecycleConfigArns = new [] { "lifecycleConfigArns" }
};
Properties
AppLifecycleManagement
Indicates whether idle shutdown is activated for JupyterLab applications.
public object? AppLifecycleManagement { get; set; }
Property Value
Remarks
BuiltInLifecycleConfigArn
The lifecycle configuration that runs before the default lifecycle configuration.
public string? BuiltInLifecycleConfigArn { get; set; }
Property Value
Remarks
It can override changes made in the default lifecycle configuration.
CodeRepositories
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
public object? CodeRepositories { get; set; }
Property Value
Remarks
CustomImages
A list of custom SageMaker images that are configured to run as a JupyterLab app.
public object? CustomImages { get; set; }
Property Value
Remarks
DefaultResourceSpec
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
public object? DefaultResourceSpec { get; set; }
Property Value
Remarks
LifecycleConfigArns
The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain.
public string[]? LifecycleConfigArns { get; set; }
Property Value
string[]
Remarks
To remove a lifecycle config, you must set LifecycleConfigArns
to an empty list.