/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the notebook instance lifecycle configuration script. Each
* lifecycle configuration script has a limit of 16384 characters. The value
* of the View CloudWatch Logs for
* notebook instance lifecycle configurations in log group
* 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.$PATH
environment variable that is available to both scripts
* is /sbin:bin:/usr/sbin:/usr/bin
./aws/sagemaker/NotebookInstances
in log stream
* [notebook-instance-name]/[LifecycleConfigHook]
.See Also:
AWS
* API Reference
A base64-encoded string that contains a shell script for a notebook instance * lifecycle configuration.
*/ inline const Aws::String& GetContent() const{ return m_content; } /** *A base64-encoded string that contains a shell script for a notebook instance * lifecycle configuration.
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *A base64-encoded string that contains a shell script for a notebook instance * lifecycle configuration.
*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *A base64-encoded string that contains a shell script for a notebook instance * lifecycle configuration.
*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *A base64-encoded string that contains a shell script for a notebook instance * lifecycle configuration.
*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *A base64-encoded string that contains a shell script for a notebook instance * lifecycle configuration.
*/ inline NotebookInstanceLifecycleHook& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *A base64-encoded string that contains a shell script for a notebook instance * lifecycle configuration.
*/ inline NotebookInstanceLifecycleHook& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *A base64-encoded string that contains a shell script for a notebook instance * lifecycle configuration.
*/ inline NotebookInstanceLifecycleHook& WithContent(const char* value) { SetContent(value); return *this;} private: Aws::String m_content; bool m_contentHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws