AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::SageMaker::Model::NotebookInstanceLifecycleHook Class Reference

#include <NotebookInstanceLifecycleHook.h>

Public Member Functions

 NotebookInstanceLifecycleHook ()
 
 NotebookInstanceLifecycleHook (Aws::Utils::Json::JsonView jsonValue)
 
NotebookInstanceLifecycleHookoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetContent () const
 
bool ContentHasBeenSet () const
 
void SetContent (const Aws::String &value)
 
void SetContent (Aws::String &&value)
 
void SetContent (const char *value)
 
NotebookInstanceLifecycleHookWithContent (const Aws::String &value)
 
NotebookInstanceLifecycleHookWithContent (Aws::String &&value)
 
NotebookInstanceLifecycleHookWithContent (const char *value)
 

Detailed Description

Contains the notebook instance lifecycle configuration script.

Each lifecycle configuration script has a limit of 16384 characters.

The value of the $PATH environment variable that is available to both scripts is /sbin:bin:/usr/sbin:/usr/bin.

View CloudWatch Logs for notebook instance lifecycle configurations in log group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].

Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started.

For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance.

See Also:

AWS API Reference

Definition at line 43 of file NotebookInstanceLifecycleHook.h.

Constructor & Destructor Documentation

◆ NotebookInstanceLifecycleHook() [1/2]

Aws::SageMaker::Model::NotebookInstanceLifecycleHook::NotebookInstanceLifecycleHook ( )

◆ NotebookInstanceLifecycleHook() [2/2]

Aws::SageMaker::Model::NotebookInstanceLifecycleHook::NotebookInstanceLifecycleHook ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ContentHasBeenSet()

bool Aws::SageMaker::Model::NotebookInstanceLifecycleHook::ContentHasBeenSet ( ) const
inline

A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.

Definition at line 62 of file NotebookInstanceLifecycleHook.h.

◆ GetContent()

const Aws::String& Aws::SageMaker::Model::NotebookInstanceLifecycleHook::GetContent ( ) const
inline

A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.

Definition at line 56 of file NotebookInstanceLifecycleHook.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SageMaker::Model::NotebookInstanceLifecycleHook::Jsonize ( ) const

◆ operator=()

NotebookInstanceLifecycleHook& Aws::SageMaker::Model::NotebookInstanceLifecycleHook::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetContent() [1/3]

void Aws::SageMaker::Model::NotebookInstanceLifecycleHook::SetContent ( const Aws::String value)
inline

A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.

Definition at line 68 of file NotebookInstanceLifecycleHook.h.

◆ SetContent() [2/3]

void Aws::SageMaker::Model::NotebookInstanceLifecycleHook::SetContent ( Aws::String &&  value)
inline

A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.

Definition at line 74 of file NotebookInstanceLifecycleHook.h.

◆ SetContent() [3/3]

void Aws::SageMaker::Model::NotebookInstanceLifecycleHook::SetContent ( const char *  value)
inline

A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.

Definition at line 80 of file NotebookInstanceLifecycleHook.h.

◆ WithContent() [1/3]

NotebookInstanceLifecycleHook& Aws::SageMaker::Model::NotebookInstanceLifecycleHook::WithContent ( const Aws::String value)
inline

A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.

Definition at line 86 of file NotebookInstanceLifecycleHook.h.

◆ WithContent() [2/3]

NotebookInstanceLifecycleHook& Aws::SageMaker::Model::NotebookInstanceLifecycleHook::WithContent ( Aws::String &&  value)
inline

A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.

Definition at line 92 of file NotebookInstanceLifecycleHook.h.

◆ WithContent() [3/3]

NotebookInstanceLifecycleHook& Aws::SageMaker::Model::NotebookInstanceLifecycleHook::WithContent ( const char *  value)
inline

A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.

Definition at line 98 of file NotebookInstanceLifecycleHook.h.


The documentation for this class was generated from the following file: