@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.950Z") @Stability(value=Stable) public interface CfnNotebookInstanceLifecycleConfigProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNotebookInstanceLifecycleConfigProps.Builder
A builder for
CfnNotebookInstanceLifecycleConfigProps |
static class |
CfnNotebookInstanceLifecycleConfigProps.Jsii$Proxy
An implementation for
CfnNotebookInstanceLifecycleConfigProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnNotebookInstanceLifecycleConfigProps.Builder |
builder() |
default String |
getNotebookInstanceLifecycleConfigName()
The name of the lifecycle configuration.
|
default Object |
getOnCreate()
A shell script that runs only once, when you create a notebook instance.
|
default Object |
getOnStart()
A shell script that runs every time you start a notebook instance, including when you create the notebook instance.
|
@Stability(value=Stable) @Nullable default String getNotebookInstanceLifecycleConfigName()
@Stability(value=Stable) @Nullable default Object getOnCreate()
The shell script must be a base64-encoded string.
@Stability(value=Stable) @Nullable default Object getOnStart()
The shell script must be a base64-encoded string.
@Stability(value=Stable) static CfnNotebookInstanceLifecycleConfigProps.Builder builder()
Copyright © 2022. All rights reserved.