Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig API¶
Description¶
Updates a notebook instance lifecycle configuration created with the create_notebook_instance_lifecycle_config API.
Updates to lifecycle configurations affect all notebook instances using that configuration upon their next start. Lifecycle configuration scripts execute with root access and the notebook instance's IAM execution role privileges. Grant this permission only to trusted principals. See Customize a Notebook Instance Using a Lifecycle Configuration Script for security best practices.
Usage¶
sagemaker_update_notebook_instance_lifecycle_config(
NotebookInstanceLifecycleConfigName, OnCreate, OnStart)
Arguments¶
-
NotebookInstanceLifecycleConfigName[required] The name of the lifecycle configuration.
-
OnCreateThe shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
-
OnStartThe 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.
Value¶
An empty list.