Class MinimumHealthyHosts
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codedeploy.MinimumHealthyHosts
- All Implemented Interfaces:
- software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:34.955Z")
@Stability(Stable)
public class MinimumHealthyHosts
extends software.amazon.jsii.JsiiObject
Minimum number of healthy hosts for a server deployment.
 
Example:
 ServerDeploymentConfig deploymentConfig = ServerDeploymentConfig.Builder.create(this, "DeploymentConfiguration")
         .deploymentConfigName("MyDeploymentConfiguration") // optional property
         // one of these is required, but both cannot be specified at the same time
         .minimumHealthyHosts(MinimumHealthyHosts.count(2))
         .build();
 - 
Nested Class SummaryNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationMode
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedMinimumHealthyHosts(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedMinimumHealthyHosts(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic MinimumHealthyHostsThe minimum healthy hosts threshold expressed as an absolute number.static MinimumHealthyHostspercentage(Number value) The minimum healthy hosts threshold expressed as a percentage of the fleet.Methods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
MinimumHealthyHostsprotected MinimumHealthyHosts(software.amazon.jsii.JsiiObjectRef objRef) 
- 
MinimumHealthyHostsprotected MinimumHealthyHosts(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
 
- 
- 
Method Details- 
countThe minimum healthy hosts threshold expressed as an absolute number.- Parameters:
- value- This parameter is required.
 
- 
percentageThe minimum healthy hosts threshold expressed as a percentage of the fleet.- Parameters:
- value- This parameter is required.
 
 
-