Class: Aws::SageMaker::Types::InferenceComponentAvailabilityZoneBalance

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

Overview

Configuration for balancing inference component copies across Availability Zones.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enforcement_modeString

Determines how strictly the Availability Zone balance constraint is enforced.

PERMISSIVE

The endpoint attempts to balance copies across Availability Zones but proceeds with scheduling even if balance can't be achieved due to available capacity or instance distribution across Availability Zones.

Returns:

  • (String)


28829
28830
28831
28832
28833
28834
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 28829

class InferenceComponentAvailabilityZoneBalance < Struct.new(
  :enforcement_mode,
  :max_imbalance)
  SENSITIVE = []
  include Aws::Structure
end

#max_imbalanceInteger

The maximum allowed difference in the number of inference component copies between any two Availability Zones. This parameter applies only when the endpoint has instances across two or more Availability Zones. A copy placement is allowed if it reduces imbalance or the resulting imbalance is within this value.

Default value: 0.

Returns:

  • (Integer)


28829
28830
28831
28832
28833
28834
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 28829

class InferenceComponentAvailabilityZoneBalance < Struct.new(
  :enforcement_mode,
  :max_imbalance)
  SENSITIVE = []
  include Aws::Structure
end