interface CfnNotebookInstanceLifecycleConfigMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnNotebookInstanceLifecycleConfigMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnNotebookInstanceLifecycleConfigMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnNotebookInstanceLifecycleConfigMixinProps |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnNotebookInstanceLifecycleConfigMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnNotebookInstanceLifecycleConfigMixinProps |
Properties for CfnNotebookInstanceLifecycleConfigPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const cfnNotebookInstanceLifecycleConfigMixinProps: sagemaker_mixins.CfnNotebookInstanceLifecycleConfigMixinProps = {
notebookInstanceLifecycleConfigName: 'notebookInstanceLifecycleConfigName',
onCreate: [{
content: 'content',
}],
onStart: [{
content: 'content',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| notebook | string | The name of the lifecycle configuration. |
| on | IResolvable | (IResolvable | Notebook)[] | A shell script that runs only once, when you create a notebook instance. |
| on | IResolvable | (IResolvable | Notebook)[] | A shell script that runs every time you start a notebook instance, including when you create the notebook instance. |
notebookInstanceLifecycleConfigName?
Type:
string
(optional)
The name of the lifecycle configuration.
onCreate?
Type:
IResolvable | (IResolvable | Notebook)[]
(optional)
A shell script that runs only once, when you create a notebook instance.
The shell script must be a base64-encoded string.
onStart?
Type:
IResolvable | (IResolvable | Notebook)[]
(optional)
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.

.NET
Go
Java
Python
TypeScript