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.

Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.

Inheritance Hierarchy

System.Object
  Amazon.SageMaker.Model.ProductionVariant

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

Syntax

C#
public class ProductionVariant

The ProductionVariant type exposes the following members

Constructors

NameDescription
Public Method ProductionVariant()

Properties

NameTypeDescription
Public Property InitialInstanceCount System.Int32

Gets and sets the property InitialInstanceCount.

Number of instances to launch initially.

Public Property InitialVariantWeight System.Single

Gets and sets the property InitialVariantWeight.

Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

Public Property InstanceType Amazon.SageMaker.ProductionVariantInstanceType

Gets and sets the property InstanceType.

The ML compute instance type.

Public Property ModelName System.String

Gets and sets the property ModelName.

The name of the model that you want to host. This is the name that you specified when creating the model.

Public Property VariantName System.String

Gets and sets the property VariantName.

The name of the production variant.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms