You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SageMaker::Types::ModelPackageContainerDefinition

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModelPackageContainerDefinition as input to an Aws::Client method, you can use a vanilla Hash:

{
  container_hostname: "ContainerHostname",
  image: "ContainerImage", # required
  image_digest: "ImageDigest",
  model_data_url: "Url",
  product_id: "ProductId",
}

Describes the Docker container for the model package.

Instance Attribute Summary collapse

Instance Attribute Details

#container_hostnameString

The DNS host name for the Docker container.

Returns:

  • (String)

    The DNS host name for the Docker container.

#imageString

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.

Returns:

  • (String)

    The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.

#image_digestString

An MD5 hash of the training algorithm that identifies the Docker image used for training.

Returns:

  • (String)

    An MD5 hash of the training algorithm that identifies the Docker image used for training.

#model_data_urlString

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).

The model artifacts must be in an S3 bucket that is in the same region as the model package.

Returns:

  • (String)

    The Amazon S3 path where the model artifacts, which result from model training, are stored.

#product_idString

The AWS Marketplace product ID of the model package.

Returns:

  • (String)

    The AWS Marketplace product ID of the model package.