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-24T13:34:33.666Z")
@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 Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMinimumHealthyHosts(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedMinimumHealthyHosts(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier 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.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
MinimumHealthyHosts
protected MinimumHealthyHosts(software.amazon.jsii.JsiiObjectRef objRef) -
MinimumHealthyHosts
protected MinimumHealthyHosts(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
count
The minimum healthy hosts threshold expressed as an absolute number.- Parameters:
value- This parameter is required.
-
percentage
The minimum healthy hosts threshold expressed as a percentage of the fleet.- Parameters:
value- This parameter is required.
-