Class: Aws::SageMaker::Types::VariantProperty

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass VariantProperty data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#variant_property_typeString

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.)

Returns:

  • (String)


42981
42982
42983
42984
42985
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 42981

class VariantProperty < Struct.new(
  :variant_property_type)
  SENSITIVE = []
  include Aws::Structure
end