HealthCheckPolicy
public struct HealthCheckPolicy : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The number of consecutive successful health checks that must occur before declaring listener healthy.
Declaration
Swift
public let healthyThreshold: Int
-
The time period in milliseconds between each health check execution.
Declaration
Swift
public let intervalMillis: Int64
-
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.
Declaration
Swift
public let path: String?
-
The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.
Declaration
Swift
public let port: Int?
-
The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.
Declaration
Swift
public let `protocol`: PortProtocol
-
The amount of time to wait when receiving a response from the health check, in milliseconds.
Declaration
Swift
public let timeoutMillis: Int64
-
The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
Declaration
Swift
public let unhealthyThreshold: Int
-
Undocumented
Declaration
Swift
public init(healthyThreshold: Int, intervalMillis: Int64, path: String? = nil, port: Int? = nil, protocol: PortProtocol, timeoutMillis: Int64, unhealthyThreshold: Int)
-
Declaration
Swift
public func validate(name: String) throws