Class: Aws::SageMaker::Types::ModelPackageContainerDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::ModelPackageContainerDefinition
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
When making an API call, you may pass ModelPackageContainerDefinition data as a hash:
{
container_hostname: "ContainerHostname",
image: "Image", # required
image_digest: "ImageDigest",
model_data_url: "Url",
product_id: "ProductId",
}
Describes the Docker container for the model package.
Instance Attribute Summary collapse
-
#container_hostname ⇒ String
The DNS host name for the Docker container.
-
#image ⇒ String
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
-
#image_digest ⇒ String
An MD5 hash of the training algorithm that identifies the Docker image used for training.
-
#model_data_url ⇒ String
The Amazon S3 path where the model artifacts, which result from model training, are stored.
-
#product_id ⇒ String
The AWS Marketplace product ID of the model package.
Instance Attribute Details
#container_hostname ⇒ String
The DNS host name for the Docker container.
8201 8202 8203 8204 8205 8206 8207 8208 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8201 class ModelPackageContainerDefinition < Struct.new( :container_hostname, :image, :image_digest, :model_data_url, :product_id) include Aws::Structure end |
#image ⇒ String
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` and `registry/repository` image path formats. For more information, see [Using Your Own Algorithms with Amazon SageMaker].
[1]: docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html
8201 8202 8203 8204 8205 8206 8207 8208 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8201 class ModelPackageContainerDefinition < Struct.new( :container_hostname, :image, :image_digest, :model_data_url, :product_id) include Aws::Structure end |
#image_digest ⇒ String
An MD5 hash of the training algorithm that identifies the Docker image used for training.
8201 8202 8203 8204 8205 8206 8207 8208 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8201 class ModelPackageContainerDefinition < Struct.new( :container_hostname, :image, :image_digest, :model_data_url, :product_id) include Aws::Structure end |
#model_data_url ⇒ String
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).
8201 8202 8203 8204 8205 8206 8207 8208 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8201 class ModelPackageContainerDefinition < Struct.new( :container_hostname, :image, :image_digest, :model_data_url, :product_id) include Aws::Structure end |
#product_id ⇒ String
The AWS Marketplace product ID of the model package.
8201 8202 8203 8204 8205 8206 8207 8208 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8201 class ModelPackageContainerDefinition < Struct.new( :container_hostname, :image, :image_digest, :model_data_url, :product_id) include Aws::Structure end |