adjustmentType property
The way in which EC2 instances are added (if ScalingAdjustment
is a positive number) or terminated (if ScalingAdjustment
is a
negative number) each time the scaling activity is triggered.
CHANGE_IN_CAPACITY
is the default.
CHANGE_IN_CAPACITY
indicates that the EC2 instance count
increments or decrements by ScalingAdjustment
, which should be
expressed as an integer. PERCENT_CHANGE_IN_CAPACITY
indicates
the instance count increments or decrements by the percentage specified by
ScalingAdjustment
, which should be expressed as an integer. For
example, 20 indicates an increase in 20% increments of cluster capacity.
EXACT_CAPACITY
indicates the scaling activity results in an
instance group with the number of EC2 instances specified by
ScalingAdjustment
, which should be expressed as a positive
integer.
Implementation
final AdjustmentType? adjustmentType;