Interface IngressV1Beta1Rule
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IngressV1Beta1Rule.Jsii$Proxy
@Generated(value="jsii-pacmak/1.52.1 (build 5ccc8f6)", date="2022-01-14T19:05:22.109Z") @Stability(Stable) public interface IngressV1Beta1Rule extends software.amazon.jsii.JsiiSerializable
Represents the rules mapping the paths under a specified host to the related backend services.Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIngressV1Beta1Rule.BuilderA builder forIngressV1Beta1Rulestatic classIngressV1Beta1Rule.Jsii$ProxyAn implementation forIngressV1Beta1Rule
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static IngressV1Beta1Rule.Builderbuilder()IngressV1Beta1BackendgetBackend()Backend defines the referenced service endpoint to which the traffic will be forwarded to.default StringgetHost()Host is the fully qualified domain name of a network host, as defined by RFC 3986.default StringgetPath()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.
-
-
-
Method Detail
-
getBackend
@Stability(Stable) @NotNull IngressV1Beta1Backend getBackend()
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
-
getHost
@Stability(Stable) @Nullable default String getHost()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.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.
-
getPath
@Stability(Stable) @Nullable default String getPath()
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. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'.Default: - If unspecified, the path defaults to a catch all sending traffic to the backend.
-
builder
@Stability(Stable) static IngressV1Beta1Rule.Builder builder()
- Returns:
- a
IngressV1Beta1Rule.BuilderofIngressV1Beta1Rule
-
-