interface ShadowModeConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnInferenceExperimentPropsMixin_ShadowModeConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnInferenceExperimentPropsMixin » ShadowModeConfigProperty |
The configuration of ShadowMode inference experiment type, which specifies a production variant to take all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests.
For the shadow variant it also specifies the percentage of requests that Amazon SageMaker replicates.
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 shadowModeConfigProperty: sagemaker_mixins.CfnInferenceExperimentPropsMixin.ShadowModeConfigProperty = {
shadowModelVariants: [{
samplingPercentage: 123,
shadowModelVariantName: 'shadowModelVariantName',
}],
sourceModelVariantName: 'sourceModelVariantName',
};
Properties
| Name | Type | Description |
|---|---|---|
| shadow | IResolvable | (IResolvable | Shadow)[] | List of shadow variant configurations. |
| source | string | The name of the production variant, which takes all the inference requests. |
shadowModelVariants?
Type:
IResolvable | (IResolvable | Shadow)[]
(optional)
List of shadow variant configurations.
sourceModelVariantName?
Type:
string
(optional)
The name of the production variant, which takes all the inference requests.

.NET
Go
Java
Python
TypeScript