1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. sagemaker
  6. getNotebookInstanceLifecycleConfig

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi

    Resource Type definition for AWS::SageMaker::NotebookInstanceLifecycleConfig

    Using getNotebookInstanceLifecycleConfig

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNotebookInstanceLifecycleConfig(args: GetNotebookInstanceLifecycleConfigArgs, opts?: InvokeOptions): Promise<GetNotebookInstanceLifecycleConfigResult>
    function getNotebookInstanceLifecycleConfigOutput(args: GetNotebookInstanceLifecycleConfigOutputArgs, opts?: InvokeOutputOptions): Output<GetNotebookInstanceLifecycleConfigResult>
    def get_notebook_instance_lifecycle_config(notebook_instance_lifecycle_config_arn: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetNotebookInstanceLifecycleConfigResult
    def get_notebook_instance_lifecycle_config_output(notebook_instance_lifecycle_config_arn: pulumi.Input[Optional[str]] = None,
                                               opts: Optional[InvokeOutputOptions] = None) -> Output[GetNotebookInstanceLifecycleConfigResult]
    func LookupNotebookInstanceLifecycleConfig(ctx *Context, args *LookupNotebookInstanceLifecycleConfigArgs, opts ...InvokeOption) (*LookupNotebookInstanceLifecycleConfigResult, error)
    func LookupNotebookInstanceLifecycleConfigOutput(ctx *Context, args *LookupNotebookInstanceLifecycleConfigOutputArgs, opts ...InvokeOption) LookupNotebookInstanceLifecycleConfigResultOutput

    > Note: This function is named LookupNotebookInstanceLifecycleConfig in the Go SDK.

    public static class GetNotebookInstanceLifecycleConfig 
    {
        public static Task<GetNotebookInstanceLifecycleConfigResult> InvokeAsync(GetNotebookInstanceLifecycleConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetNotebookInstanceLifecycleConfigResult> Invoke(GetNotebookInstanceLifecycleConfigInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetNotebookInstanceLifecycleConfigResult> Invoke(GetNotebookInstanceLifecycleConfigInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetNotebookInstanceLifecycleConfigResult> getNotebookInstanceLifecycleConfig(GetNotebookInstanceLifecycleConfigArgs args, InvokeOptions options)
    public static Output<GetNotebookInstanceLifecycleConfigResult> getNotebookInstanceLifecycleConfig(GetNotebookInstanceLifecycleConfigArgs args, InvokeOptions options)
    public static Output<GetNotebookInstanceLifecycleConfigResult> getNotebookInstanceLifecycleConfig(GetNotebookInstanceLifecycleConfigArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:sagemaker:getNotebookInstanceLifecycleConfig
      arguments:
        # arguments dictionary
    data "aws-native_sagemaker_get_notebook_instance_lifecycle_config" "name" {
        # arguments
    }

    The following arguments are supported:

    NotebookInstanceLifecycleConfigArn string
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    NotebookInstanceLifecycleConfigArn string
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    notebook_instance_lifecycle_config_arn string
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    notebookInstanceLifecycleConfigArn String
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    notebookInstanceLifecycleConfigArn string
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    notebook_instance_lifecycle_config_arn str
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    notebookInstanceLifecycleConfigArn String
    The Amazon Resource Name (ARN) of the lifecycle configuration.

    getNotebookInstanceLifecycleConfig Result

    The following output properties are available:

    NotebookInstanceLifecycleConfigArn string
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    OnCreate List<Pulumi.AwsNative.SageMaker.Outputs.NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook>
    A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
    OnStart List<Pulumi.AwsNative.SageMaker.Outputs.NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook>
    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.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    NotebookInstanceLifecycleConfigArn string
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    OnCreate []NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook
    A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
    OnStart []NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook
    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.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    notebook_instance_lifecycle_config_arn string
    The Amazon Resource Name (ARN) 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.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    notebookInstanceLifecycleConfigArn String
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    onCreate List<NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook>
    A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
    onStart List<NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook>
    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.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    notebookInstanceLifecycleConfigArn string
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    onCreate NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook[]
    A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
    onStart NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook[]
    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.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    notebook_instance_lifecycle_config_arn str
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    on_create Sequence[NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook]
    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[NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook]
    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.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    notebookInstanceLifecycleConfigArn String
    The Amazon Resource Name (ARN) of the lifecycle configuration.
    onCreate 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.
    onStart 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.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    NotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook

    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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial