CfnNotebookInstanceProps

class aws_cdk.aws_sagemaker.CfnNotebookInstanceProps(*, instance_type, role_arn, accelerator_types=None, additional_code_repositories=None, default_code_repository=None, direct_internet_access=None, kms_key_id=None, lifecycle_config_name=None, notebook_instance_name=None, root_access=None, security_group_ids=None, subnet_id=None, tags=None, volume_size_in_gb=None)

Bases: object

Properties for defining a AWS::SageMaker::NotebookInstance.

Parameters
  • instance_type (str) – AWS::SageMaker::NotebookInstance.InstanceType.

  • role_arn (str) – AWS::SageMaker::NotebookInstance.RoleArn.

  • accelerator_types (Optional[List[str]]) – AWS::SageMaker::NotebookInstance.AcceleratorTypes.

  • additional_code_repositories (Optional[List[str]]) – AWS::SageMaker::NotebookInstance.AdditionalCodeRepositories.

  • default_code_repository (Optional[str]) – AWS::SageMaker::NotebookInstance.DefaultCodeRepository.

  • direct_internet_access (Optional[str]) – AWS::SageMaker::NotebookInstance.DirectInternetAccess.

  • kms_key_id (Optional[str]) – AWS::SageMaker::NotebookInstance.KmsKeyId.

  • lifecycle_config_name (Optional[str]) – AWS::SageMaker::NotebookInstance.LifecycleConfigName.

  • notebook_instance_name (Optional[str]) – AWS::SageMaker::NotebookInstance.NotebookInstanceName.

  • root_access (Optional[str]) – AWS::SageMaker::NotebookInstance.RootAccess.

  • security_group_ids (Optional[List[str]]) – AWS::SageMaker::NotebookInstance.SecurityGroupIds.

  • subnet_id (Optional[str]) – AWS::SageMaker::NotebookInstance.SubnetId.

  • tags (Optional[List[CfnTag]]) – AWS::SageMaker::NotebookInstance.Tags.

  • volume_size_in_gb (Union[int, float, None]) – AWS::SageMaker::NotebookInstance.VolumeSizeInGB.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html

Attributes

accelerator_types

AWS::SageMaker::NotebookInstance.AcceleratorTypes.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-acceleratortypes

Return type

Optional[List[str]]

additional_code_repositories

AWS::SageMaker::NotebookInstance.AdditionalCodeRepositories.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-additionalcoderepositories

Return type

Optional[List[str]]

default_code_repository

AWS::SageMaker::NotebookInstance.DefaultCodeRepository.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-defaultcoderepository

Return type

Optional[str]

direct_internet_access

AWS::SageMaker::NotebookInstance.DirectInternetAccess.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-directinternetaccess

Return type

Optional[str]

instance_type

AWS::SageMaker::NotebookInstance.InstanceType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-instancetype

Return type

str

kms_key_id

AWS::SageMaker::NotebookInstance.KmsKeyId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-kmskeyid

Return type

Optional[str]

lifecycle_config_name

AWS::SageMaker::NotebookInstance.LifecycleConfigName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-lifecycleconfigname

Return type

Optional[str]

notebook_instance_name

AWS::SageMaker::NotebookInstance.NotebookInstanceName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-notebookinstancename

Return type

Optional[str]

role_arn

AWS::SageMaker::NotebookInstance.RoleArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-rolearn

Return type

str

root_access

AWS::SageMaker::NotebookInstance.RootAccess.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-rootaccess

Return type

Optional[str]

security_group_ids

AWS::SageMaker::NotebookInstance.SecurityGroupIds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-securitygroupids

Return type

Optional[List[str]]

subnet_id

AWS::SageMaker::NotebookInstance.SubnetId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-subnetid

Return type

Optional[str]

tags

AWS::SageMaker::NotebookInstance.Tags.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-tags

Return type

Optional[List[CfnTag]]

volume_size_in_gb

AWS::SageMaker::NotebookInstance.VolumeSizeInGB.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-volumesizeingb

Return type

Union[int, float, None]