Package com.pulumi.aws.sagemaker
Class NotebookInstanceArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.sagemaker.NotebookInstanceArgs
-
public final class NotebookInstanceArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotebookInstanceArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static NotebookInstanceArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
acceleratorTypes()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
additionalCodeRepositories()
static NotebookInstanceArgs.Builder
builder()
static NotebookInstanceArgs.Builder
builder(NotebookInstanceArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
defaultCodeRepository()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
directInternetAccess()
java.util.Optional<com.pulumi.core.Output<NotebookInstanceInstanceMetadataServiceConfigurationArgs>>
instanceMetadataServiceConfiguration()
com.pulumi.core.Output<java.lang.String>
instanceType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
kmsKeyId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
lifecycleConfigName()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
platformIdentifier()
com.pulumi.core.Output<java.lang.String>
roleArn()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
rootAccess()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
securityGroups()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
subnetId()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
tags()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
volumeSize()
-
-
-
Field Detail
-
Empty
public static final NotebookInstanceArgs Empty
-
-
Method Detail
-
acceleratorTypes
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> acceleratorTypes()
- Returns:
- A list of Elastic Inference (EI) instance types to associate with this notebook instance. See [Elastic Inference Accelerator](https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html) for more details. Valid values: `ml.eia1.medium`, `ml.eia1.large`, `ml.eia1.xlarge`, `ml.eia2.medium`, `ml.eia2.large`, `ml.eia2.xlarge`.
-
additionalCodeRepositories
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> additionalCodeRepositories()
- Returns:
- 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.
-
defaultCodeRepository
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultCodeRepository()
- Returns:
- 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.
-
directInternetAccess
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> directInternetAccess()
- Returns:
- Set to `Disabled` to disable internet access to notebook. Requires `security_groups` and `subnet_id` 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 training and endpoint services unless your configure a NAT Gateway in your VPC.
-
instanceMetadataServiceConfiguration
public java.util.Optional<com.pulumi.core.Output<NotebookInstanceInstanceMetadataServiceConfigurationArgs>> instanceMetadataServiceConfiguration()
- Returns:
- Information on the IMDS configuration of the notebook instance. Conflicts with `instance_metadata_service_configuration`. see details below.
-
instanceType
public com.pulumi.core.Output<java.lang.String> instanceType()
- Returns:
- The name of ML compute instance type.
-
kmsKeyId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kmsKeyId()
- Returns:
- The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
-
lifecycleConfigName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lifecycleConfigName()
- Returns:
- The name of a lifecycle configuration to associate with the notebook instance.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The name of the notebook instance (must be unique).
-
platformIdentifier
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> platformIdentifier()
- Returns:
- The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`, `notebook-al2-v1`, or `notebook-al2-v2`, depending on which version of Amazon Linux you require.
-
roleArn
public com.pulumi.core.Output<java.lang.String> roleArn()
- Returns:
- The ARN of the IAM role to be used by the notebook instance which allows SageMaker to call other services on your behalf.
-
rootAccess
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> rootAccess()
- Returns:
- Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
-
securityGroups
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> securityGroups()
- Returns:
- The associated security groups.
-
subnetId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> subnetId()
- Returns:
- The VPC subnet ID.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
volumeSize
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> volumeSize()
- Returns:
- The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
-
builder
public static NotebookInstanceArgs.Builder builder()
-
builder
public static NotebookInstanceArgs.Builder builder(NotebookInstanceArgs defaults)
-
-