Class NotebookInstanceArgs.Builder

  • Enclosing class:
    NotebookInstanceArgs

    public static final class NotebookInstanceArgs.Builder
    extends java.lang.Object
    • Method Detail

      • additionalCodeRepositories

        public NotebookInstanceArgs.Builder additionalCodeRepositories​(@Nullable
                                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> additionalCodeRepositories)
        Parameters:
        additionalCodeRepositories - An array of up to three Git repositories to associate 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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
        Returns:
        builder
      • additionalCodeRepositories

        public NotebookInstanceArgs.Builder additionalCodeRepositories​(java.util.List<java.lang.String> additionalCodeRepositories)
        Parameters:
        additionalCodeRepositories - An array of up to three Git repositories to associate 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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
        Returns:
        builder
      • additionalCodeRepositories

        public NotebookInstanceArgs.Builder additionalCodeRepositories​(java.lang.String... additionalCodeRepositories)
        Parameters:
        additionalCodeRepositories - An array of up to three Git repositories to associate 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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance.
        Returns:
        builder
      • defaultCodeRepository

        public NotebookInstanceArgs.Builder defaultCodeRepository​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> defaultCodeRepository)
        Parameters:
        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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository.
        Returns:
        builder
      • defaultCodeRepository

        public NotebookInstanceArgs.Builder defaultCodeRepository​(java.lang.String defaultCodeRepository)
        Parameters:
        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](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository.
        Returns:
        builder
      • directInternetAccess

        public NotebookInstanceArgs.Builder directInternetAccess​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> directInternetAccess)
        Parameters:
        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.
        Returns:
        builder
      • directInternetAccess

        public NotebookInstanceArgs.Builder directInternetAccess​(java.lang.String directInternetAccess)
        Parameters:
        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.
        Returns:
        builder
      • instanceMetadataServiceConfiguration

        public NotebookInstanceArgs.Builder instanceMetadataServiceConfiguration​(@Nullable
                                                                                 com.pulumi.core.Output<NotebookInstanceInstanceMetadataServiceConfigurationArgs> instanceMetadataServiceConfiguration)
        Parameters:
        instanceMetadataServiceConfiguration - Information on the IMDS configuration of the notebook instance. Conflicts with `instanceMetadataServiceConfiguration`. see details below.
        Returns:
        builder
      • instanceType

        public NotebookInstanceArgs.Builder instanceType​(com.pulumi.core.Output<java.lang.String> instanceType)
        Parameters:
        instanceType - The name of ML compute instance type.
        Returns:
        builder
      • instanceType

        public NotebookInstanceArgs.Builder instanceType​(java.lang.String instanceType)
        Parameters:
        instanceType - The name of ML compute instance type.
        Returns:
        builder
      • kmsKeyId

        public NotebookInstanceArgs.Builder kmsKeyId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - KMS key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
        Returns:
        builder
      • kmsKeyId

        public NotebookInstanceArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - KMS key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
        Returns:
        builder
      • lifecycleConfigName

        public NotebookInstanceArgs.Builder lifecycleConfigName​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> lifecycleConfigName)
        Parameters:
        lifecycleConfigName - The name of a lifecycle configuration to associate with the notebook instance.
        Returns:
        builder
      • lifecycleConfigName

        public NotebookInstanceArgs.Builder lifecycleConfigName​(java.lang.String lifecycleConfigName)
        Parameters:
        lifecycleConfigName - The name of a lifecycle configuration to associate with the notebook instance.
        Returns:
        builder
      • name

        public NotebookInstanceArgs.Builder name​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the notebook instance (must be unique).
        Returns:
        builder
      • name

        public NotebookInstanceArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the notebook instance (must be unique).
        Returns:
        builder
      • platformIdentifier

        public NotebookInstanceArgs.Builder platformIdentifier​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> platformIdentifier)
        Parameters:
        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`.
        Returns:
        builder
      • platformIdentifier

        public NotebookInstanceArgs.Builder platformIdentifier​(java.lang.String platformIdentifier)
        Parameters:
        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`.
        Returns:
        builder
      • region

        public NotebookInstanceArgs.Builder region​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public NotebookInstanceArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • roleArn

        public NotebookInstanceArgs.Builder roleArn​(com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        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.
        Returns:
        builder
      • roleArn

        public NotebookInstanceArgs.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        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.
        Returns:
        builder
      • rootAccess

        public NotebookInstanceArgs.Builder rootAccess​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> rootAccess)
        Parameters:
        rootAccess - Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
        Returns:
        builder
      • rootAccess

        public NotebookInstanceArgs.Builder rootAccess​(java.lang.String rootAccess)
        Parameters:
        rootAccess - Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
        Returns:
        builder
      • securityGroups

        public NotebookInstanceArgs.Builder securityGroups​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroups)
        Parameters:
        securityGroups - The associated security groups.
        Returns:
        builder
      • securityGroups

        public NotebookInstanceArgs.Builder securityGroups​(java.util.List<java.lang.String> securityGroups)
        Parameters:
        securityGroups - The associated security groups.
        Returns:
        builder
      • securityGroups

        public NotebookInstanceArgs.Builder securityGroups​(java.lang.String... securityGroups)
        Parameters:
        securityGroups - The associated security groups.
        Returns:
        builder
      • subnetId

        public NotebookInstanceArgs.Builder subnetId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> subnetId)
        Parameters:
        subnetId - The VPC subnet ID.
        Returns:
        builder
      • subnetId

        public NotebookInstanceArgs.Builder subnetId​(java.lang.String subnetId)
        Parameters:
        subnetId - The VPC subnet ID.
        Returns:
        builder
      • tags

        public NotebookInstanceArgs.Builder tags​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        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.
        Returns:
        builder
      • tags

        public NotebookInstanceArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        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.
        Returns:
        builder
      • volumeSize

        public NotebookInstanceArgs.Builder volumeSize​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> volumeSize)
        Parameters:
        volumeSize - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
        Returns:
        builder
      • volumeSize

        public NotebookInstanceArgs.Builder volumeSize​(java.lang.Integer volumeSize)
        Parameters:
        volumeSize - The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
        Returns:
        builder