Interface ICfnNotebookInstanceLifecycleConfigProps
Properties for defining a CfnNotebookInstanceLifecycleConfig
.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public interface ICfnNotebookInstanceLifecycleConfigProps
Syntax (vb)
Public Interface ICfnNotebookInstanceLifecycleConfigProps
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 cfnNotebookInstanceLifecycleConfigProps = new CfnNotebookInstanceLifecycleConfigProps {
NotebookInstanceLifecycleConfigName = "notebookInstanceLifecycleConfigName",
OnCreate = new [] { new NotebookInstanceLifecycleHookProperty {
Content = "content"
} },
OnStart = new [] { new NotebookInstanceLifecycleHookProperty {
Content = "content"
} }
};
Synopsis
Properties
NotebookInstanceLifecycleConfigName | The name of the lifecycle configuration. |
OnCreate | A shell script that runs only once, when you create a notebook instance. |
OnStart | A shell script that runs every time you start a notebook instance, including when you create the notebook instance. |
Properties
NotebookInstanceLifecycleConfigName
The name of the lifecycle configuration.
virtual string NotebookInstanceLifecycleConfigName { get; }
Property Value
System.String
Remarks
OnCreate
A shell script that runs only once, when you create a notebook instance.
virtual object OnCreate { get; }
Property Value
System.Object
Remarks
The shell script must be a base64-encoded string.
OnStart
A shell script that runs every time you start a notebook instance, including when you create the notebook instance.
virtual object OnStart { get; }
Property Value
System.Object
Remarks
The shell script must be a base64-encoded string.