Skip to content

/AWS1/CL_SGMINFCOMPONENTAZBA00

Configuration for balancing inference component copies across Availability Zones.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enforcementmode TYPE /AWS1/SGMAZBALANCEENFRCMTMODE /AWS1/SGMAZBALANCEENFRCMTMODE

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.

Optional arguments:

iv_maximbalance TYPE /AWS1/SGMAZBALANCEMAXIMBALANCE /AWS1/SGMAZBALANCEMAXIMBALANCE

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.


Queryable Attributes

EnforcementMode

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.

Accessible with the following methods

Method Description
GET_ENFORCEMENTMODE() Getter for ENFORCEMENTMODE, with configurable default
ASK_ENFORCEMENTMODE() Getter for ENFORCEMENTMODE w/ exceptions if field has no val
HAS_ENFORCEMENTMODE() Determine if ENFORCEMENTMODE has a value

MaxImbalance

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.

Accessible with the following methods

Method Description
GET_MAXIMBALANCE() Getter for MAXIMBALANCE, with configurable default
ASK_MAXIMBALANCE() Getter for MAXIMBALANCE w/ exceptions if field has no value
HAS_MAXIMBALANCE() Determine if MAXIMBALANCE has a value