Interface ZonalConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ZonalConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:33.673Z")
@Stability(Stable)
public interface ZonalConfig
extends software.amazon.jsii.JsiiSerializable
Configuration for CodeDeploy to deploy your application to one Availability Zone at a time within an AWS Region.
Example:
ServerDeploymentConfig deploymentConfig = ServerDeploymentConfig.Builder.create(this, "DeploymentConfiguration")
.minimumHealthyHosts(MinimumHealthyHosts.count(2))
.zonalConfig(ZonalConfig.builder()
.monitorDuration(Duration.minutes(30))
.firstZoneMonitorDuration(Duration.minutes(60))
.minimumHealthyHostsPerZone(MinimumHealthyHostsPerZone.count(1))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forZonalConfigstatic final classAn implementation forZonalConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic ZonalConfig.Builderbuilder()default DurationThe period of time that CodeDeploy must wait after completing a deployment to the first Availability Zone.default MinimumHealthyHostsPerZoneThe number or percentage of instances that must remain available per Availability Zone during a deployment.default DurationThe period of time that CodeDeploy must wait after completing a deployment to an Availability Zone.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFirstZoneMonitorDuration
The period of time that CodeDeploy must wait after completing a deployment to the first Availability Zone.Accepted Values:
- 0
- Greater than or equal to 1
Default: - the same value as `monitorDuration`
-
getMinimumHealthyHostsPerZone
The number or percentage of instances that must remain available per Availability Zone during a deployment.This option works in conjunction with the
minimumHealthyHostsoption.Default: - 0 percent
- See Also:
-
getMonitorDuration
The period of time that CodeDeploy must wait after completing a deployment to an Availability Zone.Accepted Values:
- 0
- Greater than or equal to 1
Default: - CodeDeploy starts deploying to the next Availability Zone immediately
-
builder
- Returns:
- a
ZonalConfig.BuilderofZonalConfig
-