Class CfnInferenceExperiment.ShadowModeConfigProperty
The configuration of ShadowMode
inference experiment type, which specifies a production variant to take all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests.
Inheritance
System.Object
CfnInferenceExperiment.ShadowModeConfigProperty
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class ShadowModeConfigProperty : Object, CfnInferenceExperiment.IShadowModeConfigProperty
Syntax (vb)
Public Class ShadowModeConfigProperty
Inherits Object
Implements CfnInferenceExperiment.IShadowModeConfigProperty
Remarks
For the shadow variant it also specifies the percentage of requests that Amazon SageMaker replicates.
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 shadowModeConfigProperty = new ShadowModeConfigProperty {
ShadowModelVariants = new [] { new ShadowModelVariantConfigProperty {
SamplingPercentage = 123,
ShadowModelVariantName = "shadowModelVariantName"
} },
SourceModelVariantName = "sourceModelVariantName"
};
Synopsis
Constructors
ShadowModeConfigProperty() |
Properties
ShadowModelVariants | List of shadow variant configurations. |
SourceModelVariantName | The name of the production variant, which takes all the inference requests. |
Constructors
ShadowModeConfigProperty()
public ShadowModeConfigProperty()
Properties
ShadowModelVariants
List of shadow variant configurations.
public object ShadowModelVariants { get; set; }
Property Value
System.Object
Remarks
SourceModelVariantName
The name of the production variant, which takes all the inference requests.
public string SourceModelVariantName { get; set; }
Property Value
System.String