Show / Hide Table of Contents

Class MinimumHealthyHosts

Minimum number of healthy hosts for a server deployment.

Inheritance
object
MinimumHealthyHosts
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MinimumHealthyHosts : DeputyBase
Syntax (vb)
Public Class MinimumHealthyHosts Inherits DeputyBase
Remarks

ExampleMetadata: infused

Examples
var deploymentConfig = new ServerDeploymentConfig(this, "DeploymentConfiguration", new ServerDeploymentConfigProps {
                DeploymentConfigName = "MyDeploymentConfiguration",  // optional property
                // one of these is required, but both cannot be specified at the same time
                MinimumHealthyHosts = MinimumHealthyHosts.Count(2)
            });

Synopsis

Methods

Count(double)

The minimum healthy hosts threshold expressed as an absolute number.

Percentage(double)

The minimum healthy hosts threshold expressed as a percentage of the fleet.

Methods

Count(double)

The minimum healthy hosts threshold expressed as an absolute number.

public static MinimumHealthyHosts Count(double value)
Parameters
value double
Returns

MinimumHealthyHosts

Remarks

ExampleMetadata: infused

Percentage(double)

The minimum healthy hosts threshold expressed as a percentage of the fleet.

public static MinimumHealthyHosts Percentage(double value)
Parameters
value double
Returns

MinimumHealthyHosts

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX