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

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

Overview

Specifies a production variant property type for an Endpoint.

If you are updating an endpoint with the ‘RetainAllVariantProperties` option of [UpdateEndpointInput] set to `true`, the `VariantProperty` objects listed in the `ExcludeRetainedVariantProperties` parameter of

UpdateEndpointInput][1

override the existing variant properties of

the endpoint.

[1]: docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpoint.html

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 `InitialInstanceCount` values in the `ProductionVariants` of [CreateEndpointConfig].

  • ‘DesiredWeight`: Overrides the existing variant weights using the `InitialVariantWeight` values in the `ProductionVariants` of [CreateEndpointConfig].

  • ‘DataCaptureConfig`: (Not currently supported.)

[1]: docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html

Returns:

  • (String)


44887
44888
44889
44890
44891
# File 'lib/aws-sdk-sagemaker/types.rb', line 44887

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