interface RouteMatch {
    hostHeader?: string;
    sni?: string;
}

Properties

Properties

hostHeader?: string

Value to match in the HTTP Host request header from an incoming connection. This field should be set for routes on HTTP Load Balancers.

One-of ('matchType'): at most one of 'sni', 'hostHeader' could be set.

sni?: string

Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. This field should be set for routes on TCP Load Balancers.

One-of ('matchType'): at most one of 'sni', 'hostHeader' could be set.