Interface AvailabilityZoneDistribution.Builder

  • Method Details

    • capacityDistributionStrategy

      AvailabilityZoneDistribution.Builder capacityDistributionStrategy(String 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • capacityDistributionStrategy

      AvailabilityZoneDistribution.Builder capacityDistributionStrategy(CapacityDistributionStrategy 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: