interface CfnNotebookInstanceLifecycleConfigProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnNotebookInstanceLifecycleConfigProps |
Java | software.amazon.awscdk.services.sagemaker.CfnNotebookInstanceLifecycleConfigProps |
Python | aws_cdk.aws_sagemaker.CfnNotebookInstanceLifecycleConfigProps |
TypeScript | @aws-cdk/aws-sagemaker » CfnNotebookInstanceLifecycleConfigProps |
Properties for defining a CfnNotebookInstanceLifecycleConfig.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker from '@aws-cdk/aws-sagemaker';
const cfnNotebookInstanceLifecycleConfigProps: sagemaker.CfnNotebookInstanceLifecycleConfigProps = {
notebookInstanceLifecycleConfigName: 'notebookInstanceLifecycleConfigName',
onCreate: [{
content: 'content',
}],
onStart: [{
content: 'content',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| notebook | string | The name of the lifecycle configuration. |
| on | IResolvable | IResolvable | Notebook[] | A shell script that runs only once, when you create a notebook instance. |
| on | IResolvable | IResolvable | Notebook[] | A shell script that runs every time you start a notebook instance, including when you create the notebook instance. |
notebookInstanceLifecycleConfigName?
Type:
string
(optional)
The name of the lifecycle configuration.
onCreate?
Type:
IResolvable | IResolvable | Notebook[]
(optional)
A shell script that runs only once, when you create a notebook instance.
The shell script must be a base64-encoded string.
onStart?
Type:
IResolvable | IResolvable | Notebook[]
(optional)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance.
The shell script must be a base64-encoded string.

.NET
Java
Python
TypeScript