CfnNotebookInstanceLifecycleConfigMixinProps
- class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnNotebookInstanceLifecycleConfigMixinProps(*, notebook_instance_lifecycle_config_name=None, on_create=None, on_start=None)
Bases:
objectProperties for CfnNotebookInstanceLifecycleConfigPropsMixin.
- Parameters:
notebook_instance_lifecycle_config_name (
Optional[str]) – The name of the lifecycle configuration.on_create (
Union[IResolvable,Sequence[Union[IResolvable,NotebookInstanceLifecycleHookProperty,Dict[str,Any]]],None]) – A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.on_start (
Union[IResolvable,Sequence[Union[IResolvable,NotebookInstanceLifecycleHookProperty,Dict[str,Any]]],None]) – 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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins cfn_notebook_instance_lifecycle_config_mixin_props = sagemaker_mixins.CfnNotebookInstanceLifecycleConfigMixinProps( notebook_instance_lifecycle_config_name="notebookInstanceLifecycleConfigName", on_create=[sagemaker_mixins.CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty( content="content" )], on_start=[sagemaker_mixins.CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty( content="content" )] )
Attributes
- notebook_instance_lifecycle_config_name
The name of the lifecycle configuration.
- on_create
A shell script that runs only once, when you create a notebook instance.
The shell script must be a base64-encoded string.
- on_start
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.