We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
Resource Type definition for AWS::SageMaker::NotebookInstanceLifecycleConfig
Create NotebookInstanceLifecycleConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NotebookInstanceLifecycleConfig(name: string, args?: NotebookInstanceLifecycleConfigArgs, opts?: CustomResourceOptions);@overload
def NotebookInstanceLifecycleConfig(resource_name: str,
args: Optional[NotebookInstanceLifecycleConfigArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def NotebookInstanceLifecycleConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
notebook_instance_lifecycle_config_name: Optional[str] = None,
on_create: Optional[Sequence[NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHookArgs]] = None,
on_start: Optional[Sequence[NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHookArgs]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewNotebookInstanceLifecycleConfig(ctx *Context, name string, args *NotebookInstanceLifecycleConfigArgs, opts ...ResourceOption) (*NotebookInstanceLifecycleConfig, error)public NotebookInstanceLifecycleConfig(string name, NotebookInstanceLifecycleConfigArgs? args = null, CustomResourceOptions? opts = null)
public NotebookInstanceLifecycleConfig(String name, NotebookInstanceLifecycleConfigArgs args)
public NotebookInstanceLifecycleConfig(String name, NotebookInstanceLifecycleConfigArgs args, CustomResourceOptions options)
type: aws-native:sagemaker:NotebookInstanceLifecycleConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_sagemaker_notebook_instance_lifecycle_config" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args NotebookInstanceLifecycleConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NotebookInstanceLifecycleConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NotebookInstanceLifecycleConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotebookInstanceLifecycleConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NotebookInstanceLifecycleConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
NotebookInstanceLifecycleConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NotebookInstanceLifecycleConfig resource accepts the following input properties:
- Notebook
Instance stringLifecycle Config Name - The name of the lifecycle configuration.
- On
Create List<Pulumi.Aws Native. Sage Maker. Inputs. Notebook Instance Lifecycle Config Notebook Instance Lifecycle Hook> - A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- On
Start List<Pulumi.Aws Native. Sage Maker. Inputs. Notebook Instance Lifecycle Config Notebook Instance Lifecycle Hook> - 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.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Notebook
Instance stringLifecycle Config Name - The name of the lifecycle configuration.
- On
Create []NotebookInstance Lifecycle Config Notebook Instance Lifecycle Hook Args - A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- On
Start []NotebookInstance Lifecycle Config Notebook Instance Lifecycle Hook Args - 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.
-
Tag
Args - An array of key-value pairs to apply to this resource.
- notebook_
instance_ stringlifecycle_ config_ name - The name of the lifecycle configuration.
- on_
create list(object) - A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- on_
start list(object) - 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.
- list(object)
- An array of key-value pairs to apply to this resource.
- notebook
Instance StringLifecycle Config Name - The name of the lifecycle configuration.
- on
Create List<NotebookInstance Lifecycle Config Notebook Instance Lifecycle Hook> - A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- on
Start List<NotebookInstance Lifecycle Config Notebook Instance Lifecycle Hook> - 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.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- notebook
Instance stringLifecycle Config Name - The name of the lifecycle configuration.
- on
Create NotebookInstance Lifecycle Config Notebook Instance Lifecycle Hook[] - A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- on
Start NotebookInstance Lifecycle Config Notebook Instance Lifecycle Hook[] - 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.
- Tag[]
- An array of key-value pairs to apply to this resource.
- notebook_
instance_ strlifecycle_ config_ name - The name of the lifecycle configuration.
- on_
create Sequence[NotebookInstance Lifecycle Config Notebook Instance Lifecycle Hook Args] - A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- on_
start Sequence[NotebookInstance Lifecycle Config Notebook Instance Lifecycle Hook Args] - 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.
-
Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- notebook
Instance StringLifecycle Config Name - The name of the lifecycle configuration.
- on
Create List<Property Map> - A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- on
Start List<Property Map> - 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.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the NotebookInstanceLifecycleConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Notebook
Instance stringLifecycle Config Arn - The Amazon Resource Name (ARN) of the lifecycle configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Notebook
Instance stringLifecycle Config Arn - The Amazon Resource Name (ARN) of the lifecycle configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- notebook_
instance_ stringlifecycle_ config_ arn - The Amazon Resource Name (ARN) of the lifecycle configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- notebook
Instance StringLifecycle Config Arn - The Amazon Resource Name (ARN) of the lifecycle configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- notebook
Instance stringLifecycle Config Arn - The Amazon Resource Name (ARN) of the lifecycle configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- notebook_
instance_ strlifecycle_ config_ arn - The Amazon Resource Name (ARN) of the lifecycle configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- notebook
Instance StringLifecycle Config Arn - The Amazon Resource Name (ARN) of the lifecycle configuration.
Supporting Types
NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook, NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHookArgs
Specifies the notebook instance lifecycle configuration script. Each lifecycle configuration script has a limit of 16384 characters.- Content string
- A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
- Content string
- A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
- content string
- A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
- content String
- A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
- content string
- A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
- content str
- A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
- content String
- A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi