AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the Docker container for the model package.

Inheritance Hierarchy

System.Object
  Amazon.SageMaker.Model.ModelPackageContainerDefinition

Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public class ModelPackageContainerDefinition

The ModelPackageContainerDefinition type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AdditionalS3DataSource Amazon.SageMaker.Model.AdditionalS3DataSource

Gets and sets the property AdditionalS3DataSource.

The additional data source that is used during inference in the Docker container for your model package.

Public Property ContainerHostname System.String

Gets and sets the property ContainerHostname.

The DNS host name for the Docker container.

Public Property Environment System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property 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.

Public Property Framework System.String

Gets and sets the property Framework.

The machine learning framework of the model package container image.

Public Property FrameworkVersion System.String

Gets and sets the property FrameworkVersion.

The framework version of the Model Package Container Image.

Public Property Image System.String

Gets and sets the property 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 SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

Public Property ImageDigest System.String

Gets and sets the property ImageDigest.

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

Public Property ModelDataSource Amazon.SageMaker.Model.ModelDataSource

Gets and sets the property ModelDataSource.

Specifies the location of ML model data to deploy during endpoint creation.

Public Property ModelDataUrl System.String

Gets and sets the property 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).

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

Public Property ModelInput Amazon.SageMaker.Model.ModelInput

Gets and sets the property ModelInput.

A structure with Model Input details.

Public Property NearestModelName System.String

Gets and sets the property NearestModelName.

The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model. You can find a list of benchmarked models by calling ListModelMetadata.

Public Property ProductId System.String

Gets and sets the property ProductId.

The Amazon Web Services Marketplace product ID of the model package.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5