Interface CfnInferenceExperiment.ShadowModeConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnInferenceExperiment.ShadowModeConfigProperty.Jsii$Proxy
Enclosing class:
CfnInferenceExperiment

@Stability(Stable) public static interface CfnInferenceExperiment.ShadowModeConfigProperty extends software.amazon.jsii.JsiiSerializable
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.

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

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sagemaker.*;
 ShadowModeConfigProperty shadowModeConfigProperty = ShadowModeConfigProperty.builder()
         .shadowModelVariants(List.of(ShadowModelVariantConfigProperty.builder()
                 .samplingPercentage(123)
                 .shadowModelVariantName("shadowModelVariantName")
                 .build()))
         .sourceModelVariantName("sourceModelVariantName")
         .build();
 

See Also: