Skip to content

Update Notebook Instance Lifecycle Config

sagemaker_update_notebook_instance_lifecycle_config R Documentation

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.

Usage

sagemaker_update_notebook_instance_lifecycle_config(
  NotebookInstanceLifecycleConfigName, OnCreate, OnStart)

Arguments

NotebookInstanceLifecycleConfigName

[required] The name of the lifecycle configuration.

OnCreate

The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.

OnStart

The 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.

Request syntax

svc$update_notebook_instance_lifecycle_config(
  NotebookInstanceLifecycleConfigName = "string",
  OnCreate = list(
    list(
      Content = "string"
    )
  ),
  OnStart = list(
    list(
      Content = "string"
    )
  )
)