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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInferenceExperiment.ShadowModeConfigProperty
static final class
An implementation forCfnInferenceExperiment.ShadowModeConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
List of shadow variant configurations.The name of the production variant, which takes all the inference requests.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getShadowModelVariants
List of shadow variant configurations.- See Also:
-
getSourceModelVariantName
The name of the production variant, which takes all the inference requests.- See Also:
-
builder
-