[][src]Struct rusoto_sagemaker::NotebookInstanceLifecycleHook

pub struct NotebookInstanceLifecycleHook {
    pub content: Option<String>,
}

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.

Fields

content: Option<String>

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

Trait Implementations

impl Clone for NotebookInstanceLifecycleHook[src]

impl Debug for NotebookInstanceLifecycleHook[src]

impl Default for NotebookInstanceLifecycleHook[src]

impl<'de> Deserialize<'de> for NotebookInstanceLifecycleHook[src]

impl PartialEq<NotebookInstanceLifecycleHook> for NotebookInstanceLifecycleHook[src]

impl Serialize for NotebookInstanceLifecycleHook[src]

impl StructuralPartialEq for NotebookInstanceLifecycleHook[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.