Fugue.AWS.ELB.HealthCheck

This is the preferred interface for creating ELB Health Checks with Fugue. The new function is the best place to start.

Module Members

http

(Function)

Type Signature

 fun { interval: Optional<Int>,
       timeout: Optional<Int>,
       unhealthyThreshold: Optional<Int>,
       healthyThreshold: Optional<Int>,
       port: Optional<Int>,
       path: String} -> HealthCheck
Argument: interval
Type: Optional<Int>
Argument: timeout
Type: Optional<Int>
Argument: unhealthyThreshold
Type: Optional<Int>
Argument: healthyThreshold
Type: Optional<Int>
Argument: port
Type: Optional<Int>
Argument: path
Type: String
Returns:
Type: HealthCheck

https

(Function)

Type Signature

 fun { interval: Optional<Int>,
       timeout: Optional<Int>,
       unhealthyThreshold: Optional<Int>,
       healthyThreshold: Optional<Int>,
       port: Optional<Int>,
       path: String} -> HealthCheck
Argument: interval
Type: Optional<Int>
Argument: timeout
Type: Optional<Int>
Argument: unhealthyThreshold
Type: Optional<Int>
Argument: healthyThreshold
Type: Optional<Int>
Argument: port
Type: Optional<Int>
Argument: path
Type: String
Returns:
Type: HealthCheck

new

(Function)

new ELB Health Check (Constructor)

Call this constructor to create a new Fugue.Core.AWS.ELB.HealthCheck value.

You can use this function directly, but the tcp, ssl, http, and https functions in this module are preferred.

Type Signature

 fun { interval: Int,
       timeout: Int,
       unhealthyThreshold: Int,
       healthyThreshold: Int,
       protocol: Protocol,
       port: Int,
       path: Optional<String> } -> HealthCheck
Argument: interval
Type: Int
Argument: timeout
Type: Int
Argument: unhealthyThreshold
Type: Int
Argument: healthyThreshold
Type: Int
Argument: protocol
Type: Protocol
Argument: port
Type: Int
Argument: path
Type: Optional<String>
Returns:

A Fugue.Core.AWS.ELB.HealthCheck value.

Type: HealthCheck

ssl

(Function)

Type Signature

 fun { interval: Optional<Int>,
       timeout: Optional<Int>,
       unhealthyThreshold: Optional<Int>,
       healthyThreshold: Optional<Int>,
       port: Int} -> HealthCheck
Argument: interval
Type: Optional<Int>
Argument: timeout
Type: Optional<Int>
Argument: unhealthyThreshold
Type: Optional<Int>
Argument: healthyThreshold
Type: Optional<Int>
Argument: port
Type: Int
Returns:
Type: HealthCheck

tcp

(Function)

This is an alternative constructor for HealthChecks.

Example usage:

healthCheck: ELB.HealthCheck.tcp {
  port: 3000,
  interval: 15,
  timeout: 3,
  unhealthyThreshold: 3,
  healthyThreshold: 3
}

Type Signature

 fun { interval: Optional<Int>,
       timeout: Optional<Int>,
       unhealthyThreshold: Optional<Int>,
       healthyThreshold: Optional<Int>,
       port: Int} -> HealthCheck
Argument: interval
Type: Optional<Int>
Argument: timeout
Type: Optional<Int>
Argument: unhealthyThreshold
Type: Optional<Int>
Argument: healthyThreshold
Type: Optional<Int>
Argument: port
Type: Int
Returns:
Type: HealthCheck

HealthCheckSpec

(Type)

type HealthCheckSpec:
  interval: Int
  timeout: Int
  unhealthyThreshold: Int
  healthyThreshold: Int
  protocol: Protocol
  port: Int
  path: Optional<String>

ELB Health Check Specification (Resource)

DEPRECATED

HealthCheckSpec is deprecated and will be removed. Use named parameters in the new function instead.

This type of value specifies an ELB Health Check for the HealthCheck. new() constructor.

Record {

Field: interval

The interval to wait between health check attempts.

Type: Int

Field: timeout

The amount of time to wait for a response to a health check test before declaring the health check failed.

Type: Int

Field: unhealthyThreshold

The number of failed health checks at which to mark an instance “unhealthy,” which means that requests are not forwarded to it.

Type: Int

Field: healthyThreshold

The number of successful health checks at which to mark an instance “healthy,” which means that requests are forwarded to it.

Type: Int

Field: protocol

The protocol to use for health check tests.

Type: Protocol

Field: port

The port to use for health check tests.

Type: Int

Field: path

The URL to use for HTTP health check tests. This is required when the health check protocol is HTTP or HTTPS.

Type: Optional<String>

}

HttpSpec

(Type)

type HttpSpec:
  Spec<{path: String}>

DEPRECATED

HttpSpec is deprecated and will be removed. Use named parameters in the new function instead. Spec<{path: Ludwig.String}>

Spec

(Type)

type Spec<a>:
  {
    interval: Int,
    timeout: Int,
    unhealthyThreshold: Int,
    healthyThreshold: Int,
    port: Int,
    a
  }

Record {

Field: interval
Type: Int
Field: timeout
Type: Int
Field: unhealthyThreshold
Type: Int
Field: healthyThreshold
Type: Int
Field: port
Type: Int

}

TcpSpec

(Type)

type TcpSpec:
  Spec<{}>

DEPRECATED

TcpSpec is deprecated and will be removed. Use named parameters in the new function instead. Spec<{}>

default

(Value)

default:
  interval: 30
  timeout: 5
  unhealthyThreshold: 2
  healthyThreshold: 10

ELB Health Check Specification (Default Values)

DEPRECATED

HealthCheck.default is deprecated and will be removed.

Defaults taken from: http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-healthchecks.html#health-check-configuration.