interface ShadowModelVariantConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnInferenceExperiment.ShadowModelVariantConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnInferenceExperiment_ShadowModelVariantConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.ShadowModelVariantConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnInferenceExperiment.ShadowModelVariantConfigProperty |
TypeScript | aws-cdk-lib » 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 { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
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.