Fugue.AWS.ELBv2.Condition

Table of Contents

Module Members

host

(Function)

host Condition (Constructor)

Example usage:

exampleHosts: ELBv2.Condition.host {
  hostname: "*.example.com",
}

Type Signature

 fun { hostname: String} -> Condition
Argument: hostname

The hostname to match against the request’s Host header. Up to 128 characters consisting of letters, numbers, ‘-‘, ‘.’, ‘**’, and ‘?’. A maximum of three wild card characters (‘**’ and ‘?’) may be used.

Type: String

Returns:

A new Fugue.Core.AWS.ELBv2.Condition value configured to match the specified hostname.

Type: Condition

path

(Function)

path Condition (Constructor)

Example usage:

matchImgs: ELBv2.Condition.path {
  pathPattern: "/img/*"
}

Type Signature

 fun { pathPattern: String} -> Condition
Argument: pathPattern

The pattern to match against the request’s Path. Up to 128 characters consisting of letters, numbers, ‘_’, ‘-‘, ‘$’, ‘/’, ‘~’, ‘”’, ‘’‘, ‘@’, ‘:’, ‘+’, ‘&’, ‘**’, and ‘?’. Note that ‘&’ must be escaped as ‘’ and that a maximum of three wild card characters (‘**’ and ‘?’) may be specified.

Type: String

Returns:

A Fugue.Core.AWS.ELBv2.Condition that matches requests by path.

Type: Condition