@Stability(value=Stable) public static final class CfnNotebookInstanceLifecycleConfig.Builder extends Object implements software.amazon.jsii.Builder<CfnNotebookInstanceLifecycleConfig>
CfnNotebookInstanceLifecycleConfig.| Modifier and Type | Method and Description |
|---|---|
CfnNotebookInstanceLifecycleConfig |
build() |
static CfnNotebookInstanceLifecycleConfig.Builder |
create(software.constructs.Construct scope,
String id) |
CfnNotebookInstanceLifecycleConfig.Builder |
notebookInstanceLifecycleConfigName(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(List<? extends 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(List<? extends Object> onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance.
|
@Stability(value=Stable) public static CfnNotebookInstanceLifecycleConfig.Builder create(software.constructs.Construct scope, 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.@Stability(value=Stable) public CfnNotebookInstanceLifecycleConfig.Builder notebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName)
notebookInstanceLifecycleConfigName - The name of the lifecycle configuration. This parameter is required.this@Stability(value=Stable) 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@Stability(value=Stable) public CfnNotebookInstanceLifecycleConfig.Builder onCreate(List<? extends 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@Stability(value=Stable) 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@Stability(value=Stable) public CfnNotebookInstanceLifecycleConfig.Builder onStart(List<? extends 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@Stability(value=Stable) public CfnNotebookInstanceLifecycleConfig build()
build in interface software.amazon.jsii.Builder<CfnNotebookInstanceLifecycleConfig>Copyright © 2022. All rights reserved.