public static final class CfnNotebookInstanceLifecycleConfig.Builder
extends java.lang.Object
CfnNotebookInstanceLifecycleConfig
.Modifier and Type | Method and Description |
---|---|
CfnNotebookInstanceLifecycleConfig |
build() |
static CfnNotebookInstanceLifecycleConfig.Builder |
create(Construct scope,
java.lang.String id) |
CfnNotebookInstanceLifecycleConfig.Builder |
notebookInstanceLifecycleConfigName(java.lang.String notebookInstanceLifecycleConfigName)
The name of the lifecycle configuration.
|
CfnNotebookInstanceLifecycleConfig.Builder |
onCreate(IResolvable onCreate)
A shell script that runs only once, when you create a notebook instance.
|
CfnNotebookInstanceLifecycleConfig.Builder |
onCreate(java.util.List<? extends java.lang.Object> onCreate)
A shell script that runs only once, when you create a notebook instance.
|
CfnNotebookInstanceLifecycleConfig.Builder |
onStart(IResolvable onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance.
|
CfnNotebookInstanceLifecycleConfig.Builder |
onStart(java.util.List<? extends java.lang.Object> onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance.
|
public static CfnNotebookInstanceLifecycleConfig.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty.Builder
.public CfnNotebookInstanceLifecycleConfig.Builder notebookInstanceLifecycleConfigName(java.lang.String notebookInstanceLifecycleConfigName)
notebookInstanceLifecycleConfigName
- The name of the lifecycle configuration. This parameter is required.this
public CfnNotebookInstanceLifecycleConfig.Builder onCreate(IResolvable onCreate)
The shell script must be a base64-encoded string.
onCreate
- A shell script that runs only once, when you create a notebook instance. This parameter is required.this
public CfnNotebookInstanceLifecycleConfig.Builder onCreate(java.util.List<? extends java.lang.Object> onCreate)
The shell script must be a base64-encoded string.
onCreate
- A shell script that runs only once, when you create a notebook instance. This parameter is required.this
public CfnNotebookInstanceLifecycleConfig.Builder onStart(IResolvable onStart)
The shell script must be a base64-encoded string.
onStart
- A shell script that runs every time you start a notebook instance, including when you create the notebook instance. This parameter is required.this
public CfnNotebookInstanceLifecycleConfig.Builder onStart(java.util.List<? extends java.lang.Object> onStart)
The shell script must be a base64-encoded string.
onStart
- A shell script that runs every time you start a notebook instance, including when you create the notebook instance. This parameter is required.this
public CfnNotebookInstanceLifecycleConfig build()