@Generated(value="jsii-pacmak/1.13.0 (build 385c325)", date="2020-10-21T06:58:44.666Z") @Stability(value=Experimental) public interface IngressRule extends software.amazon.jsii.JsiiSerializable
Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching path.
| Modifier and Type | Interface and Description |
|---|---|
static class |
IngressRule.Builder
A builder for
IngressRule |
static class |
IngressRule.Jsii$Proxy
An implementation for
IngressRule |
| Modifier and Type | Method and Description |
|---|---|
static IngressRule.Builder |
builder() |
IngressBackend |
getBackend()
(experimental) Backend defines the referenced service endpoint to which the traffic will be forwarded to.
|
default String |
getHost()
(experimental) Host is the fully qualified domain name of a network host, as defined by RFC 3986.
|
default String |
getPath()
(experimental) Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request.
|
@Stability(value=Experimental) @NotNull IngressBackend getBackend()
@Stability(value=Experimental) @Nullable default String getHost()
Note the following deviations from the "host" part of the URI as
defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue
can only apply to the IP in the Spec of the parent Ingress. 2. The :
delimiter is not respected because ports are not allowed. Currently the
port of an Ingress is implicitly :80 for http and :443 for https. Both
these may change in the future. Incoming requests are matched against the
host before the IngressRuleValue.
Default: - If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.
@Stability(value=Experimental) @Nullable default String getPath()
Default: - If unspecified, the path defaults to a catch all sending traffic to the backend.
@Stability(value=Experimental) static IngressRule.Builder builder()
IngressRule.Builder of IngressRuleCopyright © 2020. All rights reserved.