@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:42.665Z") @Stability(value=Experimental) public interface ContainerDefinitionOptions extends software.amazon.jsii.JsiiSerializable
https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ContainerDefinition.html| Modifier and Type | Interface and Description |
|---|---|
static class |
ContainerDefinitionOptions.Builder
A builder for
ContainerDefinitionOptions |
static class |
ContainerDefinitionOptions.Jsii$Proxy
An implementation for
ContainerDefinitionOptions |
| Modifier and Type | Method and Description |
|---|---|
static ContainerDefinitionOptions.Builder |
builder() |
default String |
getContainerHostName()
(experimental) This parameter is ignored for models that contain only a PrimaryContainer.
|
default TaskInput |
getEnvironmentVariables()
(experimental) The environment variables to set in the Docker container.
|
default DockerImage |
getImage()
(experimental) The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
|
default Mode |
getMode()
(experimental) Defines how many models the container hosts.
|
default String |
getModelPackageName()
(experimental) The name or Amazon Resource Name (ARN) of the model package to use to create the model.
|
default S3Location |
getModelS3Location()
(experimental) The S3 path where the model artifacts, which result from model training, are stored.
|
@Stability(value=Experimental) @Nullable default String getContainerHostName()
When a ContainerDefinition is part of an inference pipeline, the value of the parameter uniquely identifies the container for the purposes of logging and metrics.
Default: - None
@Stability(value=Experimental) @Nullable default TaskInput getEnvironmentVariables()
Default: - No variables
@Stability(value=Experimental) @Nullable default DockerImage getImage()
Default: - None
@Stability(value=Experimental) @Nullable default Mode getMode()
Default: - Mode.SINGLE_MODEL
@Stability(value=Experimental) @Nullable default String getModelPackageName()
Default: - None
@Stability(value=Experimental) @Nullable default S3Location getModelS3Location()
This path must point to a single gzip compressed tar archive (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms, but not if you use your own algorithms.
Default: - None
@Stability(value=Experimental) static ContainerDefinitionOptions.Builder builder()
ContainerDefinitionOptions.Builder of ContainerDefinitionOptionsCopyright © 2021. All rights reserved.