interface VariantPropertyProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Sagemaker.CfnEndpoint.VariantPropertyProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnEndpoint_VariantPropertyProperty | 
|  Java | software.amazon.awscdk.services.sagemaker.CfnEndpoint.VariantPropertyProperty | 
|  Python | aws_cdk.aws_sagemaker.CfnEndpoint.VariantPropertyProperty | 
|  TypeScript | aws-cdk-lib»aws_sagemaker»CfnEndpoint»VariantPropertyProperty | 
Specifies a production variant property type for an Endpoint.
If you are updating an Endpoint with the RetainAllVariantProperties option set to true , the VarientProperty objects listed in ExcludeRetainedVariantProperties override the existing variant properties of the Endpoint.
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 variantPropertyProperty: sagemaker.CfnEndpoint.VariantPropertyProperty = {
  variantPropertyType: 'variantPropertyType',
};
Properties
| Name | Type | Description | 
|---|---|---|
| variant | string | The type of variant property. The supported values are:. | 
variantPropertyType?
Type:
string
(optional)
The type of variant property. The supported values are:.
- DesiredInstanceCount: Overrides the existing variant instance counts using the InitialInstanceCount values in the ProductionVariants .
- DesiredWeight: Overrides the existing variant weights using the InitialVariantWeight values in the ProductionVariants .
- DataCaptureConfig: (Not currently supported.)
