Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: CC-BY-SA-4.0
Describes the Docker container for the model package.
ContainerHostname The DNS host name for the Docker container.
Type: String
Length Constraints: Maximum length of 63.
Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*
Required: No
Image The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
If you are using your own custom algorithm instead of an algorithm provided by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements. Amazon SageMaker supports both registry/repository[:tag]
and registry/repository[@digest]
image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.
Type: String
Length Constraints: Maximum length of 255.
Pattern: [\S]+
Required: Yes
ImageDigest An MD5 hash of the training algorithm that identifies the Docker image used for training.
Type: String
Length Constraints: Maximum length of 72.
Pattern: ^[Ss][Hh][Aa]256:[0-9a-fA-F]{64}$
Required: No
ModelDataUrl 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
ProductId The AWS Marketplace product ID of the model package.
Type: String
Length Constraints: Maximum length of 256.
Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*$
Required: No
For more information about using this API in one of the language-specific AWS SDKs, see the following: + AWS SDK for C++ + AWS SDK for Go + AWS SDK for Go - Pilot + AWS SDK for Java + AWS SDK for Ruby V2