interface ShadowModelVariantConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnInferenceExperimentPropsMixin.ShadowModelVariantConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnInferenceExperimentPropsMixin_ShadowModelVariantConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnInferenceExperimentPropsMixin.ShadowModelVariantConfigProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnInferenceExperimentPropsMixin.ShadowModelVariantConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnInferenceExperimentPropsMixin » 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 { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const shadowModelVariantConfigProperty: sagemaker_mixins.CfnInferenceExperimentPropsMixin.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
(optional)
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
shadowModelVariantName?
Type:
string
(optional)
The name of the shadow variant.

.NET
Go
Java
Python
TypeScript