UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

21 lines (20 loc) 631 B
import { CfnDeploymentConfig } from './codedeploy.generated'; /** * Minimum number of healthy hosts for a server deployment. */ export declare class MinimumHealthyHosts { private readonly json; /** * The minimum healhty hosts threshold expressed as an absolute number. */ static count(value: number): MinimumHealthyHosts; /** * The minmum healhty hosts threshold expressed as a percentage of the fleet. */ static percentage(value: number): MinimumHealthyHosts; private constructor(); /** * @internal */ get _json(): CfnDeploymentConfig.MinimumHealthyHostsProperty; }