InferenceComponentContainerSpecification
Defines a container that provides the runtime environment for a model that you deploy with an inference component.
Contents
- 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).
Type: String
Length Constraints: Maximum length of 1024.
Pattern:
^(https|s3)://([^/]+)/?(.*)$
Required: No
- 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.
Type: String to string map
Map Entries: Maximum number of 100 items.
Key Length Constraints: Maximum length of 1024.
Key Pattern:
[a-zA-Z_][a-zA-Z0-9_]*
Value Length Constraints: Maximum length of 1024.
Value Pattern:
[\S\s]*
Required: No
- Image
-
The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.
Type: String
Length Constraints: Maximum length of 255.
Pattern:
[\S]+
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: