Interface AvailabilityZoneImpairmentPolicy.Builder

  • Method Details

    • zonalShiftEnabled

      AvailabilityZoneImpairmentPolicy.Builder zonalShiftEnabled(Boolean zonalShiftEnabled)

      If true, enable zonal shift for your Auto Scaling group.

      Parameters:
      zonalShiftEnabled - If true, enable zonal shift for your Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impairedZoneHealthCheckBehavior

      AvailabilityZoneImpairmentPolicy.Builder impairedZoneHealthCheckBehavior(String impairedZoneHealthCheckBehavior)

      Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you select Ignore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.

      Parameters:
      impairedZoneHealthCheckBehavior - Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you select Ignore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • impairedZoneHealthCheckBehavior

      AvailabilityZoneImpairmentPolicy.Builder impairedZoneHealthCheckBehavior(ImpairedZoneHealthCheckBehavior impairedZoneHealthCheckBehavior)

      Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you select Ignore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.

      Parameters:
      impairedZoneHealthCheckBehavior - Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you select Ignore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: