Class CfnNotebookInstanceLifecycleConfigProps
Properties for defining a CfnNotebookInstanceLifecycleConfig
.
Inheritance
System.Object
CfnNotebookInstanceLifecycleConfigProps
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class CfnNotebookInstanceLifecycleConfigProps : Object, ICfnNotebookInstanceLifecycleConfigProps
Syntax (vb)
Public Class CfnNotebookInstanceLifecycleConfigProps
Inherits Object
Implements 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
Constructors
CfnNotebookInstanceLifecycleConfigProps() |
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. |
Constructors
CfnNotebookInstanceLifecycleConfigProps()
public CfnNotebookInstanceLifecycleConfigProps()
Properties
NotebookInstanceLifecycleConfigName
The name of the lifecycle configuration.
public string NotebookInstanceLifecycleConfigName { get; set; }
Property Value
System.String
Remarks
OnCreate
A shell script that runs only once, when you create a notebook instance.
public object OnCreate { get; set; }
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.
public object OnStart { get; set; }
Property Value
System.Object
Remarks
The shell script must be a base64-encoded string.