DeploymentConfigZonalConfigMinimumHealthyHostsPerZoneArgs

data class DeploymentConfigZonalConfigMinimumHealthyHostsPerZoneArgs(val type: Output<String>? = null, val value: Output<Int>? = null) : ConvertibleToJava<DeploymentConfigZonalConfigMinimumHealthyHostsPerZoneArgs>

Constructors

constructor(type: Output<String>? = null, value: Output<Int>? = null)

Properties

Link copied to clipboard
val type: Output<String>? = null

The type can either be FLEET_PERCENT or HOST_COUNT.

Link copied to clipboard
val value: Output<Int>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): DeploymentConfigZonalConfigMinimumHealthyHostsPerZoneArgs