ShadowModelVariantConfigProperty Struct
The name and sampling percentage of a shadow variant.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const shadowModelVariantConfigProperty: sagemaker.CfnInferenceExperiment.ShadowModelVariantConfigProperty = {
samplingPercentage: 123,
shadowModelVariantName: 'shadowModelVariantName',
};
Properties
samplingPercentagenumbersampling_percentageint | floatsamplingPercentageNumberSamplingPercentagedoubleSamplingPercentage*float64required#The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
shadowModelVariantNamestringshadow_model_variant_namestrshadowModelVariantNameStringShadowModelVariantNamestringShadowModelVariantName*stringrequired#The name of the shadow variant.