AWS::SageMaker::NotebookInstanceResource Type definition for AWS::SageMaker::NotebookInstance
16 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
InstanceType | string | Required |
RoleArn | string | Required |
AcceleratorTypes | Array<string> | Deprecated |
AdditionalCodeRepositories | Array<string> | |
DefaultCodeRepository | string | |
DirectInternetAccess | string | Create-only |
InstanceMetadataServiceConfiguration | InstanceMetadataServiceConfiguration | |
KmsKeyId | string | Create-only |
LifecycleConfigName | string | |
NotebookInstanceName | string | Create-only |
PlatformIdentifier | string | Create-only |
RootAccess | string | |
SecurityGroupIds | Array<string> | Create-only |
SubnetId | string | Create-only |
Tags | Array<Tag> | |
VolumeSizeInGB | integer |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
NotebookInstanceArn | string | The Amazon Resource Name (ARN) of the notebook instance. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SageMaker::NotebookInstance
Resources:
MyResource:
Type: AWS::SageMaker::NotebookInstance
Properties:
InstanceType: "value"
RoleArn: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateNetworkInterfaceec2:CreateNetworkInterfacePermissionec2:DeleteNetworkInterfaceec2:DeleteNetworkInterfacePermissionec2:DescribeNetworkInterfacesec2:DescribeVpcsec2:DescribeDhcpOptionsec2:DescribeSubnetsec2:DescribeSecurityGroupskms:CreateGrantkms:Decryptkms:DescribeKeysagemaker:AddTagssagemaker:CreateNotebookInstancesagemaker:DescribeNotebookInstancesagemaker:ListTagsiam:PassRolesagemaker:DescribeNotebookInstancesagemaker:ListTagsec2:DescribeNetworkInterfacesec2:DescribeVpcsec2:DescribeDhcpOptionsec2:DescribeSubnetsec2:DescribeSecurityGroupssagemaker:AddTagssagemaker:DeleteTagssagemaker:DescribeNotebookInstancesagemaker:StartNotebookInstancesagemaker:StopNotebookInstancesagemaker:UpdateNotebookInstanceiam:PassRoleec2:DeleteNetworkInterfaceec2:DeleteNetworkInterfacePermissionsagemaker:DeleteNotebookInstancesagemaker:DescribeNotebookInstancesagemaker:StopNotebookInstancesagemaker:ListNotebookInstancesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterNotebookInstanceArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DirectInternetAccessKmsKeyIdNotebookInstanceNamePlatformIdentifierSecurityGroupIdsSubnetId