NAME

Paws::AppMesh::HealthCheckPolicy

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::AppMesh::HealthCheckPolicy object:

$service_obj->Method(Att1 => { HealthyThreshold => $value, ..., UnhealthyThreshold => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::AppMesh::HealthCheckPolicy object:

$result = $service_obj->Method(...);
$result->Att1->HealthyThreshold

DESCRIPTION

An object that represents the health check policy for a virtual node's listener.

ATTRIBUTES

REQUIRED HealthyThreshold => Int

The number of consecutive successful health checks that must occur before declaring listener healthy.

REQUIRED IntervalMillis => Int

The time period in milliseconds between each health check execution.

Path => Str

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Port => Int

The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.

REQUIRED Protocol => Str

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol (https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

REQUIRED TimeoutMillis => Int

The amount of time to wait when receiving a response from the health check, in milliseconds.

REQUIRED UnhealthyThreshold => Int

The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::AppMesh

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues