CfnNotebookInstanceLifecycleConfigProps Struct
Properties for defining a CfnNotebookInstanceLifecycleConfig.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnNotebookInstanceLifecycleConfigProps: sagemaker.CfnNotebookInstanceLifecycleConfigProps = {
notebookInstanceLifecycleConfigName: 'notebookInstanceLifecycleConfigName',
onCreate: [{
content: 'content',
}],
onStart: [{
content: 'content',
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
notebookInstanceLifecycleConfigNamestringnotebook_instance_lifecycle_config_namestrnotebookInstanceLifecycleConfigNameStringNotebookInstanceLifecycleConfigNamestringNotebookInstanceLifecycleConfigName*string#The name of the lifecycle configuration.
onCreateIResolvable | IResolvable | CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty[]on_createtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NotebookInstanceLifecycleHookProperty]]]onCreateIResolvableOnCreateIResolvableOnCreateinterface{}#A shell script that runs only once, when you create a notebook instance.
The shell script must be a base64-encoded string.
onStartIResolvable | IResolvable | CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty[]on_starttyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NotebookInstanceLifecycleHookProperty]]]onStartIResolvableOnStartIResolvableOnStartinterface{}#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.