You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SageMaker::Types::UpdateNotebookInstanceLifecycleConfigInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass UpdateNotebookInstanceLifecycleConfigInput data as a hash:

{
  notebook_instance_lifecycle_config_name: "NotebookInstanceLifecycleConfigName", # required
  on_create: [
    {
      content: "NotebookInstanceLifecycleConfigContent",
    },
  ],
  on_start: [
    {
      content: "NotebookInstanceLifecycleConfigContent",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#notebook_instance_lifecycle_config_nameString

The name of the lifecycle configuration.

Returns:

  • (String)


12330
12331
12332
12333
12334
12335
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 12330

class UpdateNotebookInstanceLifecycleConfigInput < Struct.new(
  :notebook_instance_lifecycle_config_name,
  :on_create,
  :on_start)
  include Aws::Structure
end

#on_createArray<Types::NotebookInstanceLifecycleHook>

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



12330
12331
12332
12333
12334
12335
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 12330

class UpdateNotebookInstanceLifecycleConfigInput < Struct.new(
  :notebook_instance_lifecycle_config_name,
  :on_create,
  :on_start)
  include Aws::Structure
end

#on_startArray<Types::NotebookInstanceLifecycleHook>

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.



12330
12331
12332
12333
12334
12335
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 12330

class UpdateNotebookInstanceLifecycleConfigInput < Struct.new(
  :notebook_instance_lifecycle_config_name,
  :on_create,
  :on_start)
  include Aws::Structure
end