VariantPropertyProperty Struct
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
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
variant_property_property = sagemaker.CfnEndpoint.VariantPropertyProperty(
variant_property_type="variantPropertyType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
VariantPropertyProperty variantPropertyProperty = VariantPropertyProperty.builder()
.variantPropertyType("variantPropertyType")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var variantPropertyProperty = new VariantPropertyProperty {
VariantPropertyType = "variantPropertyType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
variantPropertyProperty := &VariantPropertyProperty{
VariantPropertyType: jsii.String("variantPropertyType"),
}
Properties
variantPropertyTypeoptionalstringvariant_property_typeoptionalstrvariantPropertyTypeoptionalStringVariantPropertyTypeoptionalstringVariantPropertyTypeoptional*string#The type of variant property. The supported values are:.
notes
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.)