AWS::SageMaker::NotebookInstanceLifecycleConfigThe `AWS::SageMaker::NotebookInstanceLifecycleConfig` resource creates shell scripts that run when you create and/or start a notebook instance. For information about notebook instance lifecycle configurations, see [Customize a Notebook Instance](https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html) in the *Amazon SageMaker Developer Guide* .
import { CfnNotebookInstanceLifecycleConfig } from 'aws-cdk-lib/aws-sagemaker';Or use the module namespace:
import * as sagemaker from 'aws-cdk-lib/aws-sagemaker';
// sagemaker.CfnNotebookInstanceLifecycleConfigConfiguration passed to the constructor as CfnNotebookInstanceLifecycleConfigProps.
notebookInstanceLifecycleConfigNameOptionalstringThe name of the lifecycle configuration.
onCreateOptionalIResolvable | IResolvable | NotebookInstanceLifecycleHookProperty[]A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
onStartOptionalIResolvable | IResolvable | NotebookInstanceLifecycleHookProperty[]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.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-sagemakerAWS::SageMaker::NotebookInstanceLifecycleConfig