Class DeploymentConfigZonalConfigMinimumHealthyHostsPerZone


  • public final class DeploymentConfigZonalConfigMinimumHealthyHostsPerZone
    extends java.lang.Object
    • Method Detail

      • type

        public java.util.Optional<java.lang.String> type()
        Returns:
        The type can either be `FLEET_PERCENT` or `HOST_COUNT`.
      • value

        public java.util.Optional<java.lang.Integer> value()
        Returns:
        The value when the type is `FLEET_PERCENT` represents the minimum number of healthy instances as a percentage of the total number of instances in the Availability Zone during a deployment. If you specify FLEET_PERCENT, at the start of the deployment, AWS CodeDeploy converts the percentage to the equivalent number of instance and rounds up fractional instances. When the type is `HOST_COUNT`, the value represents the minimum number of healthy instances in the Availability Zone as an absolute value.