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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNotebookInstanceLifecycleConfigPropsstatic final classAn implementation forCfnNotebookInstanceLifecycleConfigProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the lifecycle configuration.default ObjectA shell script that runs only once, when you create a notebook instance.default ObjectA shell script that runs every time you start a notebook instance, including when you create the notebook instance.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNotebookInstanceLifecycleConfigName
The name of the lifecycle configuration. -
getOnCreate
A shell script that runs only once, when you create a notebook instance.The shell script must be a base64-encoded string.
-
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
-