@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-17T17:31:20.218Z") @Stability(value=Stable) public class MinimumHealthyHosts extends software.amazon.jsii.JsiiObject
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();
| Modifier | Constructor and Description |
|---|---|
protected |
MinimumHealthyHosts(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
MinimumHealthyHosts(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static MinimumHealthyHosts |
count(Number value)
The minimum healhty hosts threshold expressed as an absolute number.
|
static MinimumHealthyHosts |
percentage(Number value)
The minmum healhty hosts threshold expressed as a percentage of the fleet.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected MinimumHealthyHosts(software.amazon.jsii.JsiiObjectRef objRef)
protected MinimumHealthyHosts(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static MinimumHealthyHosts count(@NotNull Number value)
value - This parameter is required.@Stability(value=Stable) @NotNull public static MinimumHealthyHosts percentage(@NotNull Number value)
value - This parameter is required.Copyright © 2022. All rights reserved.