Interface CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.Jsii$Proxy
- Enclosing class:
CfnInferenceExperimentPropsMixin
@Stability(Stable)
public static interface CfnInferenceExperimentPropsMixin.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.cfnpropertymixins.services.sagemaker.*;
ShadowModeConfigProperty shadowModeConfigProperty = ShadowModeConfigProperty.builder()
.shadowModelVariants(List.of(ShadowModelVariantConfigProperty.builder()
.samplingPercentage(123)
.shadowModelVariantName("shadowModelVariantName")
.build()))
.sourceModelVariantName("sourceModelVariantName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnInferenceExperimentPropsMixin.ShadowModeConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getShadowModelVariants
List of shadow variant configurations.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInferenceExperimentPropsMixin.ShadowModelVariantConfigProperty>- See Also:
-
getSourceModelVariantName
The name of the production variant, which takes all the inference requests.- See Also:
-
builder
@Stability(Stable) static CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty.Builder builder()
-