class Aws::SageMaker::Types::ModelPackageContainerDefinition
Describes the Docker container for the model package.
@note When making an API call, you may pass ModelPackageContainerDefinition
data as a hash: { container_hostname: "ContainerHostname", image: "ContainerImage", # required image_digest: "ImageDigest", model_data_url: "Url", product_id: "ProductId", environment: { "EnvironmentKey" => "EnvironmentValue", }, }
@!attribute [rw] container_hostname
The DNS host name for the Docker container. @return [String]
@!attribute [rw] 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][1]. [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html @return [String]
@!attribute [rw] image_digest
An MD5 hash of the training algorithm that identifies the Docker image used for training. @return [String]
@!attribute [rw] model_data_url
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). <note markdown="1"> The model artifacts must be in an S3 bucket that is in the same region as the model package. </note> @return [String]
@!attribute [rw] product_id
The Amazon Web Services Marketplace product ID of the model package. @return [String]
@!attribute [rw] 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. @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelPackageContainerDefinition AWS API Documentation
Constants
- SENSITIVE