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.103.1 (build bef2dea)",
date="2024-10-25T14:21:12.146Z")
@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
ModifierConstructorDescriptionprotected
MinimumHealthyHosts
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
MinimumHealthyHosts
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic MinimumHealthyHosts
The minimum healthy hosts threshold expressed as an absolute number.static MinimumHealthyHosts
percentage
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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.
-