AWS::SageMaker::InferenceComponent InferenceComponentContainerSpecification
Defines a container that provides the runtime environment for a model that you deploy with an inference component.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "ArtifactUrl" :
String
, "DeployedImage" :DeployedImage
, "Environment" :{
, "Image" :Key
:Value
, ...}String
}
YAML
ArtifactUrl:
String
DeployedImage:DeployedImage
Environment:Image:
Key
:Value
String
Properties
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).
Required: No
Type: String
Pattern:
^(https|s3)://([^/]+)/?(.*)$
Maximum:
1024
Update requires: No interruption
DeployedImage
Property description not available.
Required: No
Type: DeployedImage
Update requires: No interruption
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.
Required: No
Type: Object of String
Pattern:
^[a-zA-Z_][a-zA-Z0-9_]{1,1024}$
Maximum:
1024
Update requires: No interruption
Image
-
The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.
Required: No
Type: String
Pattern:
[\S]+
Maximum:
255
Update requires: No interruption