aws-cdk-lib.aws_sagemaker.CfnEndpoint.VariantPropertyProperty

interface VariantPropertyProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnEndpoint.VariantPropertyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnEndpoint_VariantPropertyProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnEndpoint.VariantPropertyProperty
Pythonaws_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

NameTypeDescription
variantPropertyType?stringThe 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.)