interface ShadowModelVariantConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnInferenceExperimentPropsMixin.ShadowModelVariantConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnInferenceExperimentPropsMixin_ShadowModelVariantConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceExperimentPropsMixin.ShadowModelVariantConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnInferenceExperimentPropsMixin.ShadowModelVariantConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » 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 { aws_sagemaker as sagemaker } from '@aws-cdk/cfn-property-mixins';
const shadowModelVariantConfigProperty: sagemaker.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