interface ShadowModelVariantConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnInferenceExperiment.ShadowModelVariantConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.ShadowModelVariantConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnInferenceExperiment.ShadowModelVariantConfigProperty |
TypeScript | @aws-cdk/aws-sagemaker » CfnInferenceExperiment » ShadowModelVariantConfigProperty |
The name and sampling percentage of a shadow variant.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker from '@aws-cdk/aws-sagemaker';
const shadowModelVariantConfigProperty: sagemaker.CfnInferenceExperiment.ShadowModelVariantConfigProperty = {
samplingPercentage: 123,
shadowModelVariantName: 'shadowModelVariantName',
};
Properties
| Name | Type | Description |
|---|---|---|
| sampling | number | The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant. |
| shadow | string | The name of the shadow variant. |
samplingPercentage
Type:
number
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
shadowModelVariantName
Type:
string
The name of the shadow variant.

.NET
Java
Python
TypeScript