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
published on Monday, Sep 28, 2026 by Pulumi
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
published on Monday, Sep 28, 2026 by Pulumi
Resource Type definition for AWS::SageMaker::NotebookInstance
Using getNotebookInstance
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 getNotebookInstance(args: GetNotebookInstanceArgs, opts?: InvokeOptions): Promise<GetNotebookInstanceResult>
function getNotebookInstanceOutput(args: GetNotebookInstanceOutputArgs, opts?: InvokeOutputOptions): Output<GetNotebookInstanceResult>def get_notebook_instance(notebook_instance_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNotebookInstanceResult
def get_notebook_instance_output(notebook_instance_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetNotebookInstanceResult]func LookupNotebookInstance(ctx *Context, args *LookupNotebookInstanceArgs, opts ...InvokeOption) (*LookupNotebookInstanceResult, error)
func LookupNotebookInstanceOutput(ctx *Context, args *LookupNotebookInstanceOutputArgs, opts ...InvokeOption) LookupNotebookInstanceResultOutput> Note: This function is named LookupNotebookInstance in the Go SDK.
public static class GetNotebookInstance
{
public static Task<GetNotebookInstanceResult> InvokeAsync(GetNotebookInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetNotebookInstanceResult> Invoke(GetNotebookInstanceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetNotebookInstanceResult> Invoke(GetNotebookInstanceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetNotebookInstanceResult> getNotebookInstance(GetNotebookInstanceArgs args, InvokeOptions options)
public static Output<GetNotebookInstanceResult> getNotebookInstance(GetNotebookInstanceArgs args, InvokeOptions options)
public static Output<GetNotebookInstanceResult> getNotebookInstance(GetNotebookInstanceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:sagemaker:getNotebookInstance
arguments:
# arguments dictionarydata "aws-native_sagemaker_get_notebook_instance" "name" {
# arguments
}The following arguments are supported:
- Notebook
Instance stringArn - The Amazon Resource Name (ARN) of the notebook instance.
- Notebook
Instance stringArn - The Amazon Resource Name (ARN) of the notebook instance.
- notebook_
instance_ stringarn - The Amazon Resource Name (ARN) of the notebook instance.
- notebook
Instance StringArn - The Amazon Resource Name (ARN) of the notebook instance.
- notebook
Instance stringArn - The Amazon Resource Name (ARN) of the notebook instance.
- notebook_
instance_ strarn - The Amazon Resource Name (ARN) of the notebook instance.
- notebook
Instance StringArn - The Amazon Resource Name (ARN) of the notebook instance.
getNotebookInstance Result
The following output properties are available:
- Accelerator
Types List<string> - A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- Additional
Code List<string>Repositories - An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
- Default
Code stringRepository - The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository.
- Instance
Metadata Pulumi.Service Configuration Aws Native. Sage Maker. Outputs. Notebook Instance Instance Metadata Service Configuration - Information on the IMDS configuration of the notebook instance.
- Instance
Type string - The type of ML compute instance to launch for the notebook instance. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- Lifecycle
Config stringName - The name of a lifecycle configuration to associate with the notebook instance.
- Notebook
Instance stringArn - The Amazon Resource Name (ARN) of the notebook instance.
- Role
Arn string - When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. To be able to pass this role to SageMaker AI, the caller of this API must have the iam:PassRole permission.
- Root
Access string - Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled. Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of key-value pairs to apply to this resource.
- Volume
Size intIn Gb - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- Accelerator
Types []string - A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- Additional
Code []stringRepositories - An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
- Default
Code stringRepository - The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository.
- Instance
Metadata NotebookService Configuration Instance Instance Metadata Service Configuration - Information on the IMDS configuration of the notebook instance.
- Instance
Type string - The type of ML compute instance to launch for the notebook instance. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- Lifecycle
Config stringName - The name of a lifecycle configuration to associate with the notebook instance.
- Notebook
Instance stringArn - The Amazon Resource Name (ARN) of the notebook instance.
- Role
Arn string - When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. To be able to pass this role to SageMaker AI, the caller of this API must have the iam:PassRole permission.
- Root
Access string - Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled. Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
- Tag
- A list of key-value pairs to apply to this resource.
- Volume
Size intIn Gb - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- accelerator_
types list(string) - A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- additional_
code_ list(string)repositories - An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
- default_
code_ stringrepository - The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository.
- instance_
metadata_ objectservice_ configuration - Information on the IMDS configuration of the notebook instance.
- instance_
type string - The type of ML compute instance to launch for the notebook instance. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- lifecycle_
config_ stringname - The name of a lifecycle configuration to associate with the notebook instance.
- notebook_
instance_ stringarn - The Amazon Resource Name (ARN) of the notebook instance.
- role_
arn string - When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. To be able to pass this role to SageMaker AI, the caller of this API must have the iam:PassRole permission.
- root_
access string - Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled. Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
- list(object)
- A list of key-value pairs to apply to this resource.
- volume_
size_ numberin_ gb - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- accelerator
Types List<String> - A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- additional
Code List<String>Repositories - An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
- default
Code StringRepository - The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository.
- instance
Metadata NotebookService Configuration Instance Instance Metadata Service Configuration - Information on the IMDS configuration of the notebook instance.
- instance
Type String - The type of ML compute instance to launch for the notebook instance. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- lifecycle
Config StringName - The name of a lifecycle configuration to associate with the notebook instance.
- notebook
Instance StringArn - The Amazon Resource Name (ARN) of the notebook instance.
- role
Arn String - When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. To be able to pass this role to SageMaker AI, the caller of this API must have the iam:PassRole permission.
- root
Access String - Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled. Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
- List<Tag>
- A list of key-value pairs to apply to this resource.
- volume
Size IntegerIn Gb - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- accelerator
Types string[] - A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- additional
Code string[]Repositories - An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
- default
Code stringRepository - The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository.
- instance
Metadata NotebookService Configuration Instance Instance Metadata Service Configuration - Information on the IMDS configuration of the notebook instance.
- instance
Type string - The type of ML compute instance to launch for the notebook instance. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- lifecycle
Config stringName - The name of a lifecycle configuration to associate with the notebook instance.
- notebook
Instance stringArn - The Amazon Resource Name (ARN) of the notebook instance.
- role
Arn string - When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. To be able to pass this role to SageMaker AI, the caller of this API must have the iam:PassRole permission.
- root
Access string - Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled. Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
- Tag[]
- A list of key-value pairs to apply to this resource.
- volume
Size numberIn Gb - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- accelerator_
types Sequence[str] - A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- additional_
code_ Sequence[str]repositories - An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
- default_
code_ strrepository - The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository.
- instance_
metadata_ Notebookservice_ configuration Instance Instance Metadata Service Configuration - Information on the IMDS configuration of the notebook instance.
- instance_
type str - The type of ML compute instance to launch for the notebook instance. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- lifecycle_
config_ strname - The name of a lifecycle configuration to associate with the notebook instance.
- notebook_
instance_ strarn - The Amazon Resource Name (ARN) of the notebook instance.
- role_
arn str - When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. To be able to pass this role to SageMaker AI, the caller of this API must have the iam:PassRole permission.
- root_
access str - Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled. Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
- Sequence[root_Tag]
- A list of key-value pairs to apply to this resource.
- volume_
size_ intin_ gb - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- accelerator
Types List<String> - A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance.
- additional
Code List<String>Repositories - An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in AWS CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
- default
Code StringRepository - The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in AWS CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository.
- instance
Metadata Property MapService Configuration - Information on the IMDS configuration of the notebook instance.
- instance
Type String - The type of ML compute instance to launch for the notebook instance. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
- lifecycle
Config StringName - The name of a lifecycle configuration to associate with the notebook instance.
- notebook
Instance StringArn - The Amazon Resource Name (ARN) of the notebook instance.
- role
Arn String - When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. To be able to pass this role to SageMaker AI, the caller of this API must have the iam:PassRole permission.
- root
Access String - Whether root access is enabled or disabled for users of the notebook instance. The default value is Enabled. Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
- List<Property Map>
- A list of key-value pairs to apply to this resource.
- volume
Size NumberIn Gb - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
Supporting Types
NotebookInstanceInstanceMetadataServiceConfiguration
- Minimum
Instance stringMetadata Service Version - Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.
- Minimum
Instance stringMetadata Service Version - Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.
- minimum_
instance_ stringmetadata_ service_ version - Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.
- minimum
Instance StringMetadata Service Version - Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.
- minimum
Instance stringMetadata Service Version - Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.
- minimum_
instance_ strmetadata_ service_ version - Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.
- minimum
Instance StringMetadata Service Version - Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
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
published on Monday, Sep 28, 2026 by Pulumi