NotebookInstanceArgs constructor

const NotebookInstanceArgs({
  1. Input<List<String>?>? additionalCodeRepositories,
  2. Input<String?>? defaultCodeRepository,
  3. Input<String?>? directInternetAccess,
  4. Input<NotebookInstanceInstanceMetadataServiceConfiguration?>? instanceMetadataServiceConfiguration,
  5. required Input<String> instanceType,
  6. Input<String?>? kmsKeyId,
  7. Input<String?>? lifecycleConfigName,
  8. Input<String?>? name,
  9. Input<String?>? platformIdentifier,
  10. Input<String?>? region,
  11. required Input<String> roleArn,
  12. Input<String?>? rootAccess,
  13. Input<List<String>?>? securityGroups,
  14. Input<String?>? subnetId,
  15. Input<Map<String, String>?>? tags,
  16. Input<int?>? volumeSize,
})

Creates a new NotebookInstanceArgs. additionalCodeRepositories An array of up to three Git repositories to associate with the notebook instance. defaultCodeRepository 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. directInternetAccess Set to Disabled to disable internet access to notebook. Requires securityGroups and subnetId to be set. Supported values: Enabled (Default) or Disabled. If set to Disabled, the notebook instance will be able to access resources only in your VPC, and will not be able to connect to Amazon SageMaker AI training and endpoint services unless your configure a NAT Gateway in your VPC. instanceMetadataServiceConfiguration Information on the IMDS configuration of the notebook instance. Conflicts with instanceMetadataServiceConfiguration. see details below. instanceType The name of ML compute instance type. kmsKeyId KMS key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. lifecycleConfigName The name of a lifecycle configuration to associate with the notebook instance. name The name of the notebook instance (must be unique). platformIdentifier The platform identifier of the notebook instance runtime environment. This value can be either notebook-al1-v1(deprecated), notebook-al2-v1(deprecated), notebook-al2-v2(deprecated), notebook-al2-v3, or notebook-al2023-v1, depending on which version of Amazon Linux you require. Defaults to notebook-al2-v3. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. roleArn The ARN of the IAM role to be used by the notebook instance which allows SageMaker AI to call other services on your behalf. rootAccess Whether root access is Enabled or Disabled for users of the notebook instance. The default value is Enabled. securityGroups The associated security groups. subnetId The VPC subnet ID. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. volumeSize The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.

Implementation

const NotebookInstanceArgs({
  this.additionalCodeRepositories,
  this.defaultCodeRepository,
  this.directInternetAccess,
  this.instanceMetadataServiceConfiguration,
  required this.instanceType,
  this.kmsKeyId,
  this.lifecycleConfigName,
  this.name,
  this.platformIdentifier,
  this.region,
  required this.roleArn,
  this.rootAccess,
  this.securityGroups,
  this.subnetId,
  this.tags,
  this.volumeSize,
});