[][src]Struct rusoto_appmesh::HealthCheckPolicy

pub struct HealthCheckPolicy {
    pub healthy_threshold: i64,
    pub interval_millis: i64,
    pub path: Option<String>,
    pub port: Option<i64>,
    pub protocol: String,
    pub timeout_millis: i64,
    pub unhealthy_threshold: i64,
}

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

Fields

healthy_threshold: i64

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

interval_millis: i64

The time period in milliseconds between each health check execution.

path: Option<String>

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: Option<i64>

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

protocol: String

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.

timeout_millis: i64

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

unhealthy_threshold: i64

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

Trait Implementations

impl Clone for HealthCheckPolicy[src]

impl Debug for HealthCheckPolicy[src]

impl Default for HealthCheckPolicy[src]

impl<'de> Deserialize<'de> for HealthCheckPolicy[src]

impl PartialEq<HealthCheckPolicy> for HealthCheckPolicy[src]

impl Serialize for HealthCheckPolicy[src]

impl StructuralPartialEq for HealthCheckPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.