Class CfnInferenceExperiment.ModelVariantConfigProperty
Contains information about the deployment options of a model.
Inheritance
System.Object
CfnInferenceExperiment.ModelVariantConfigProperty
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class ModelVariantConfigProperty : Object, CfnInferenceExperiment.IModelVariantConfigProperty
Syntax (vb)
Public Class ModelVariantConfigProperty
Inherits Object
Implements CfnInferenceExperiment.IModelVariantConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var modelVariantConfigProperty = new ModelVariantConfigProperty {
InfrastructureConfig = new ModelInfrastructureConfigProperty {
InfrastructureType = "infrastructureType",
RealTimeInferenceConfig = new RealTimeInferenceConfigProperty {
InstanceCount = 123,
InstanceType = "instanceType"
}
},
ModelName = "modelName",
VariantName = "variantName"
};
Synopsis
Constructors
ModelVariantConfigProperty() |
Properties
InfrastructureConfig | The configuration for the infrastructure that the model will be deployed to. |
ModelName | The name of the Amazon SageMaker Model entity. |
VariantName | The name of the variant. |
Constructors
ModelVariantConfigProperty()
public ModelVariantConfigProperty()
Properties
InfrastructureConfig
The configuration for the infrastructure that the model will be deployed to.
public object InfrastructureConfig { get; set; }
Property Value
System.Object
Remarks
ModelName
The name of the Amazon SageMaker Model entity.
public string ModelName { get; set; }
Property Value
System.String
Remarks
VariantName
The name of the variant.
public string VariantName { get; set; }
Property Value
System.String