Interface CfnDeploymentConfig.ZonalConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDeploymentConfig.ZonalConfigProperty.Jsii$Proxy
Enclosing class:
CfnDeploymentConfig

@Stability(Stable) public static interface CfnDeploymentConfig.ZonalConfigProperty extends software.amazon.jsii.JsiiSerializable
Configure the ZonalConfig object if you want AWS CodeDeploy to deploy your application to one Availability Zone at a time, within an AWS Region. By deploying to one Availability Zone at a time, you can expose your deployment to a progressively larger audience as confidence in the deployment's performance and viability grows. If you don't configure the ZonalConfig object, CodeDeploy deploys your application to a random selection of hosts across a Region.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide .

Example:

 // 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.*;
 ZonalConfigProperty zonalConfigProperty = ZonalConfigProperty.builder()
         .firstZoneMonitorDurationInSeconds(123)
         .minimumHealthyHostsPerZone(MinimumHealthyHostsPerZoneProperty.builder()
                 .type("type")
                 .value(123)
                 .build())
         .monitorDurationInSeconds(123)
         .build();
 

See Also: