Class: Aws::SageMaker::Types::CreateNotebookInstanceLifecycleConfigInput

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 CreateNotebookInstanceLifecycleConfigInput data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#notebook_instance_lifecycle_config_nameString

The name of the lifecycle configuration.

Returns:

  • (String)


4803
4804
4805
4806
4807
4808
4809
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 4803

class CreateNotebookInstanceLifecycleConfigInput < Struct.new(
  :notebook_instance_lifecycle_config_name,
  :on_create,
  :on_start)
  SENSITIVE = []
  include Aws::Structure
end

#on_createArray<Types::NotebookInstanceLifecycleHook>

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



4803
4804
4805
4806
4807
4808
4809
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 4803

class CreateNotebookInstanceLifecycleConfigInput < Struct.new(
  :notebook_instance_lifecycle_config_name,
  :on_create,
  :on_start)
  SENSITIVE = []
  include Aws::Structure
end

#on_startArray<Types::NotebookInstanceLifecycleHook>

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.



4803
4804
4805
4806
4807
4808
4809
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 4803

class CreateNotebookInstanceLifecycleConfigInput < Struct.new(
  :notebook_instance_lifecycle_config_name,
  :on_create,
  :on_start)
  SENSITIVE = []
  include Aws::Structure
end