Class CfnUserProfile.JupyterLabAppSettingsProperty
The settings for the JupyterLab application.
Inheritance
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class JupyterLabAppSettingsProperty : Object, CfnUserProfile.IJupyterLabAppSettingsProperty
Syntax (vb)
Public Class JupyterLabAppSettingsProperty
Inherits Object
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
}
},
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
Jupyter |
Properties
App |
Indicates whether idle shutdown is activated for JupyterLab applications. |
Code |
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application. |
Custom |
A list of custom SageMaker images that are configured to run as a JupyterLab app. |
Default |
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app. |
Lifecycle |
The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. |
Constructors
JupyterLabAppSettingsProperty()
public JupyterLabAppSettingsProperty()
Properties
AppLifecycleManagement
Indicates whether idle shutdown is activated for JupyterLab applications.
public object AppLifecycleManagement { get; set; }
Property Value
System.
Remarks
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
System.
Remarks
CustomImages
A list of custom SageMaker images that are configured to run as a JupyterLab app.
public object CustomImages { get; set; }
Property Value
System.
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
System.
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
System.
Remarks
To remove a lifecycle config, you must set LifecycleConfigArns
to an empty list.