Skip to content

/AWS1/CL_ASCAZDISTRIBUTION

Describes an Availability Zone distribution.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_capdistributionstrategy TYPE /AWS1/ASCCAPDISTRIBUTIONSTRAG /AWS1/ASCCAPDISTRIBUTIONSTRAG

If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort.

  • balanced-only - If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.

  • balanced-best-effort - If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.

  • reservations-then-balanced - Auto Scaling will first attempt to launch into your Capacity Reservations, and then balance any remaining capacity across the healthy Availability Zones.


Queryable Attributes

CapacityDistributionStrategy

If launches fail in an Availability Zone, the following strategies are available. The default is balanced-best-effort.

  • balanced-only - If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.

  • balanced-best-effort - If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.

  • reservations-then-balanced - Auto Scaling will first attempt to launch into your Capacity Reservations, and then balance any remaining capacity across the healthy Availability Zones.

Accessible with the following methods

Method Description
GET_CAPDISTRIBUTIONSTRATEGY() Getter for CAPACITYDISTRIBUTIONSTRATEGY, with configurable d
ASK_CAPDISTRIBUTIONSTRATEGY() Getter for CAPACITYDISTRIBUTIONSTRATEGY w/ exceptions if fie
HAS_CAPDISTRIBUTIONSTRATEGY() Determine if CAPACITYDISTRIBUTIONSTRATEGY has a value