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