interface VariantPropertyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnEndpointPropsMixin.VariantPropertyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnEndpointPropsMixin_VariantPropertyProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnEndpointPropsMixin.VariantPropertyProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnEndpointPropsMixin.VariantPropertyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnEndpointPropsMixin » 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 { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const variantPropertyProperty: sagemaker_mixins.CfnEndpointPropsMixin.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.)

.NET
Go
Java
Python
TypeScript