Class HealthCheck
Health check settings
Synopsis
Properties
gracePeriod | |
type |
Methods
ec2(options) | Use EC2 for health checks |
elb(options) | Use ELB for health checks. It considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. |
Properties
gracePeriod
Declaration
readonly gracePeriod?: Duration | undefined;
Property Value
Duration | undefined
type
Declaration
readonly type: string;
Property Value
string
Methods
ec2(options)
Use EC2 for health checks
Declaration
static ec2(options?: Ec2HealthCheckOptions): HealthCheck;
Parameters
- options Ec2HealthCheckOptions
Returns
HealthCheck
elb(options)
Use ELB for health checks. It considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.
Declaration
static elb(options: ElbHealthCheckOptions): HealthCheck;
Parameters
- options ElbHealthCheckOptions
Returns
HealthCheck