You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SageMaker::Types::VariantProperty
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::VariantProperty
- Defined in:
- (unknown)
Overview
When passing VariantProperty as input to an Aws::Client method, you can use a vanilla Hash:
{
variant_property_type: "DesiredInstanceCount", # required, accepts DesiredInstanceCount, DesiredWeight, DataCaptureConfig
}
Specifies a production variant property type for an Endpoint.
If you are updating an endpoint with the UpdateEndpointInput$RetainAllVariantProperties option set to true
, the VariantProperty
objects listed in UpdateEndpointInput$ExcludeRetainedVariantProperties override the existing variant properties of the endpoint.
Instance Attribute Summary collapse
-
#variant_property_type ⇒ String
The type of variant property.
Instance Attribute Details
#variant_property_type ⇒ String
The type of variant property. The supported values are:
DesiredInstanceCount
: Overrides the existing variant instance counts using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.DesiredWeight
: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight values in the CreateEndpointConfigInput$ProductionVariants.DataCaptureConfig
: (Not currently supported.)Possible values:
- DesiredInstanceCount
- DesiredWeight
- DataCaptureConfig