Skip to content
v2.277.0

MinimumHealthyHostsPerZoneProperty Struct ​

Information about the minimum number of healthy instances per Availability Zone.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const minimumHealthyHostsPerZoneProperty: codedeploy.CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty = {
  type: 'type',
  value: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codedeploy as codedeploy

minimum_healthy_hosts_per_zone_property = codedeploy.CfnDeploymentConfig.MinimumHealthyHostsPerZoneProperty(
    type="type",
    value=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codedeploy.*;

MinimumHealthyHostsPerZoneProperty minimumHealthyHostsPerZoneProperty = MinimumHealthyHostsPerZoneProperty.builder()
        .type("type")
        .value(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeDeploy;

var minimumHealthyHostsPerZoneProperty = new MinimumHealthyHostsPerZoneProperty {
    Type = "type",
    Value = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

minimumHealthyHostsPerZoneProperty := &MinimumHealthyHostsPerZoneProperty{
	Type: jsii.String("type"),
	Value: jsii.Number(123),
}

Properties ​

typestringtypestrtypeStringTypestringType*string required #
The `type` associated with the `MinimumHealthyHostsPerZone` option.
valuenumbervalueint | floatvalueNumberValuedoubleValue*float64 required #
The `value` associated with the `MinimumHealthyHostsPerZone` option.