Class: Aws::SageMaker::Types::CreateNotebookInstanceLifecycleConfigInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::CreateNotebookInstanceLifecycleConfigInput
- Includes:
- Aws::Structure
- Defined in:
- 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",
},
],
}
Instance Attribute Summary collapse
-
#notebook_instance_lifecycle_config_name ⇒ String
The name of the lifecycle configuration.
-
#on_create ⇒ Array<Types::NotebookInstanceLifecycleHook>
A shell script that runs only once, when you create a notebook instance.
-
#on_start ⇒ Array<Types::NotebookInstanceLifecycleHook>
A shell script that runs every time you start a notebook instance, including when you create the notebook instance.
Instance Attribute Details
#notebook_instance_lifecycle_config_name ⇒ String
The name of the lifecycle configuration.
2335 2336 2337 2338 2339 2340 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 2335 class CreateNotebookInstanceLifecycleConfigInput < Struct.new( :notebook_instance_lifecycle_config_name, :on_create, :on_start) include Aws::Structure end |
#on_create ⇒ Array<Types::NotebookInstanceLifecycleHook>
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
2335 2336 2337 2338 2339 2340 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 2335 class CreateNotebookInstanceLifecycleConfigInput < Struct.new( :notebook_instance_lifecycle_config_name, :on_create, :on_start) include Aws::Structure end |
#on_start ⇒ Array<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.
2335 2336 2337 2338 2339 2340 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 2335 class CreateNotebookInstanceLifecycleConfigInput < Struct.new( :notebook_instance_lifecycle_config_name, :on_create, :on_start) include Aws::Structure end |