/AWS1/CL_SGMINFERENCECOMPONE01¶
Defines a container that provides the runtime environment for a model that you deploy with an inference component.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_image
TYPE /AWS1/SGMCONTAINERIMAGE
/AWS1/SGMCONTAINERIMAGE
¶
The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.
iv_artifacturl
TYPE /AWS1/SGMURL
/AWS1/SGMURL
¶
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
it_environment
TYPE /AWS1/CL_SGMENVIRONMENTMAP_W=>TT_ENVIRONMENTMAP
TT_ENVIRONMENTMAP
¶
The environment variables to set in the Docker container. Each key and value in the Environment string-to-string map can have length of up to 1024. We support up to 16 entries in the map.
Queryable Attributes¶
Image¶
The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.
Accessible with the following methods¶
Method | Description |
---|---|
GET_IMAGE() |
Getter for IMAGE, with configurable default |
ASK_IMAGE() |
Getter for IMAGE w/ exceptions if field has no value |
HAS_IMAGE() |
Determine if IMAGE has a value |
ArtifactUrl¶
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
Accessible with the following methods¶
Method | Description |
---|---|
GET_ARTIFACTURL() |
Getter for ARTIFACTURL, with configurable default |
ASK_ARTIFACTURL() |
Getter for ARTIFACTURL w/ exceptions if field has no value |
HAS_ARTIFACTURL() |
Determine if ARTIFACTURL has a value |
Environment¶
The environment variables to set in the Docker container. Each key and value in the Environment string-to-string map can have length of up to 1024. We support up to 16 entries in the map.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENVIRONMENT() |
Getter for ENVIRONMENT, with configurable default |
ASK_ENVIRONMENT() |
Getter for ENVIRONMENT w/ exceptions if field has no value |
HAS_ENVIRONMENT() |
Determine if ENVIRONMENT has a value |