Show / Hide Table of Contents

Interface CfnInferenceExperiment.IShadowModeConfigProperty

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.

Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnInferenceExperiment.IShadowModeConfigProperty
Syntax (vb)
Public Interface CfnInferenceExperiment.IShadowModeConfigProperty
Remarks

For the shadow variant it also specifies the percentage of requests that Amazon SageMaker replicates.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-shadowmodeconfig.html

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

Properties

ShadowModelVariants

List of shadow variant configurations.

SourceModelVariantName

The name of the production variant, which takes all the inference requests.

Properties

ShadowModelVariants

List of shadow variant configurations.

object ShadowModelVariants { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-shadowmodeconfig.html#cfn-sagemaker-inferenceexperiment-shadowmodeconfig-shadowmodelvariants

Type union: either IResolvable or (either IResolvable or CfnInferenceExperiment.IShadowModelVariantConfigProperty)[]

SourceModelVariantName

The name of the production variant, which takes all the inference requests.

string SourceModelVariantName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-shadowmodeconfig.html#cfn-sagemaker-inferenceexperiment-shadowmodeconfig-sourcemodelvariantname

Back to top Generated by DocFX