Package org.cdk8s.plus22
Class IngressRule.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus22.IngressRule.Jsii$Proxy
-
- All Implemented Interfaces:
IngressRule,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- IngressRule
@Stability(Stable) @Internal public static final class IngressRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IngressRule
An implementation forIngressRule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus22.IngressRule
IngressRule.Builder, IngressRule.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(IngressRule.Builder builder)Constructor that initializes the object based on literal property values passed by theIngressRule.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)IngressBackendgetBackend()Backend defines the referenced service endpoint to which the traffic will be forwarded to.StringgetHost()Host is the fully qualified domain name of a network host, as defined by RFC 3986.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.HttpIngressPathTypegetPathType()Specify how the path is matched against request paths.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(IngressRule.Builder builder)
Constructor that initializes the object based on literal property values passed by theIngressRule.Builder.
-
-
Method Detail
-
getBackend
public final IngressBackend getBackend()
Description copied from interface:IngressRuleBackend defines the referenced service endpoint to which the traffic will be forwarded to.- Specified by:
getBackendin interfaceIngressRule
-
getHost
public final String getHost()
Description copied from interface:IngressRuleHost 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.
- Specified by:
getHostin interfaceIngressRule
-
getPath
public final String getPath()
Description copied from interface:IngressRulePath 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.
- Specified by:
getPathin interfaceIngressRule
-
getPathType
public final HttpIngressPathType getPathType()
Description copied from interface:IngressRuleSpecify how the path is matched against request paths.By default, path types will be matched by prefix.
- Specified by:
getPathTypein interfaceIngressRule
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-