Interface CfnNotebookInstanceLifecycleConfigProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnNotebookInstanceLifecycleConfigProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.513Z") @Stability(Stable) public interface CfnNotebookInstanceLifecycleConfigProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnNotebookInstanceLifecycleConfig.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sagemaker.*;
 CfnNotebookInstanceLifecycleConfigProps cfnNotebookInstanceLifecycleConfigProps = CfnNotebookInstanceLifecycleConfigProps.builder()
         .notebookInstanceLifecycleConfigName("notebookInstanceLifecycleConfigName")
         .onCreate(List.of(NotebookInstanceLifecycleHookProperty.builder()
                 .content("content")
                 .build()))
         .onStart(List.of(NotebookInstanceLifecycleHookProperty.builder()
                 .content("content")
                 .build()))
         .build();
 
  • Method Details

    • getNotebookInstanceLifecycleConfigName

      @Stability(Stable) @Nullable default String getNotebookInstanceLifecycleConfigName()
      The name of the lifecycle configuration.
    • getOnCreate

      @Stability(Stable) @Nullable default Object getOnCreate()
      A shell script that runs only once, when you create a notebook instance.

      The shell script must be a base64-encoded string.

    • getOnStart

      @Stability(Stable) @Nullable default Object getOnStart()
      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.

    • builder

      @Stability(Stable) static CfnNotebookInstanceLifecycleConfigProps.Builder builder()
      Returns:
      a CfnNotebookInstanceLifecycleConfigProps.Builder of CfnNotebookInstanceLifecycleConfigProps