You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SageMaker::Types::CreateNotebookInstanceInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass CreateNotebookInstanceInput data as a hash:

{
  notebook_instance_name: "NotebookInstanceName", # required
  instance_type: "ml.t2.medium", # required, accepts ml.t2.medium, ml.m4.xlarge, ml.p2.xlarge
  subnet_id: "SubnetId",
  security_group_ids: ["SecurityGroupId"],
  role_arn: "RoleArn", # required
  kms_key_id: "KmsKeyId",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_typeString

The type of ML compute instance to launch for the notebook instance.

Returns:

  • (String)


510
511
512
513
514
515
516
517
518
519
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 510

class CreateNotebookInstanceInput < Struct.new(
  :notebook_instance_name,
  :instance_type,
  :subnet_id,
  :security_group_ids,
  :role_arn,
  :kms_key_id,
  :tags)
  include Aws::Structure
end

#kms_key_idString

If you provide a AWS KMS key ID, Amazon SageMaker uses it to encrypt data at rest on the ML storage volume that is attached to your notebook instance.

Returns:

  • (String)


510
511
512
513
514
515
516
517
518
519
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 510

class CreateNotebookInstanceInput < Struct.new(
  :notebook_instance_name,
  :instance_type,
  :subnet_id,
  :security_group_ids,
  :role_arn,
  :kms_key_id,
  :tags)
  include Aws::Structure
end

#notebook_instance_nameString

The name of the new notebook instance.

Returns:

  • (String)


510
511
512
513
514
515
516
517
518
519
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 510

class CreateNotebookInstanceInput < Struct.new(
  :notebook_instance_name,
  :instance_type,
  :subnet_id,
  :security_group_ids,
  :role_arn,
  :kms_key_id,
  :tags)
  include Aws::Structure
end

#role_arnString

When you send any requests to AWS resources from the notebook instance, Amazon SageMaker assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so Amazon SageMaker can perform these tasks. The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see Amazon SageMaker Roles.

Returns:

  • (String)


510
511
512
513
514
515
516
517
518
519
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 510

class CreateNotebookInstanceInput < Struct.new(
  :notebook_instance_name,
  :instance_type,
  :subnet_id,
  :security_group_ids,
  :role_arn,
  :kms_key_id,
  :tags)
  include Aws::Structure
end

#security_group_idsArray<String>

The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.

Returns:

  • (Array<String>)


510
511
512
513
514
515
516
517
518
519
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 510

class CreateNotebookInstanceInput < Struct.new(
  :notebook_instance_name,
  :instance_type,
  :subnet_id,
  :security_group_ids,
  :role_arn,
  :kms_key_id,
  :tags)
  include Aws::Structure
end

#subnet_idString

The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance.

Returns:

  • (String)


510
511
512
513
514
515
516
517
518
519
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 510

class CreateNotebookInstanceInput < Struct.new(
  :notebook_instance_name,
  :instance_type,
  :subnet_id,
  :security_group_ids,
  :role_arn,
  :kms_key_id,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags to associate with the notebook instance. You can add tags later by using the CreateTags API.

Returns:



510
511
512
513
514
515
516
517
518
519
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 510

class CreateNotebookInstanceInput < Struct.new(
  :notebook_instance_name,
  :instance_type,
  :subnet_id,
  :security_group_ids,
  :role_arn,
  :kms_key_id,
  :tags)
  include Aws::Structure
end