@Stability(value=Stable)
public static interface CfnEndpoint.VariantPropertyProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
VariantPropertyProperty variantPropertyProperty = VariantPropertyProperty.builder()
.variantPropertyType("variantPropertyType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpoint.VariantPropertyProperty.Builder
A builder for
CfnEndpoint.VariantPropertyProperty |
static class |
CfnEndpoint.VariantPropertyProperty.Jsii$Proxy
An implementation for
CfnEndpoint.VariantPropertyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpoint.VariantPropertyProperty.Builder |
builder() |
default String |
getVariantPropertyType()
The type of variant property.
|
@Stability(value=Stable) @Nullable default String getVariantPropertyType()
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.)@Stability(value=Stable) static CfnEndpoint.VariantPropertyProperty.Builder builder()
Copyright © 2022. All rights reserved.