Package org.cdk8s.plus24
Class IngressRule.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.IngressRule
IngressRule.Builder, IngressRule.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(IngressRule.Builder builder)
Constructor that initializes the object based on literal property values passed by theIngressRule.Builder
.protected
Jsii$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()
boolean
equals(Object o)
IngressBackend
getBackend()
Backend defines the referenced service endpoint to which the traffic will be forwarded to.String
getHost()
Host is the fully qualified domain name of a network host, as defined by RFC 3986.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.HttpIngressPathType
getPathType()
Specify how the path is matched against request paths.int
hashCode()
-
-
-
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:IngressRule
Backend defines the referenced service endpoint to which the traffic will be forwarded to.- Specified by:
getBackend
in interfaceIngressRule
-
getHost
public final String getHost()
Description copied from interface:IngressRule
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.
- Specified by:
getHost
in interfaceIngressRule
-
getPath
public final String getPath()
Description copied from interface:IngressRule
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.
- Specified by:
getPath
in interfaceIngressRule
-
getPathType
public final HttpIngressPathType getPathType()
Description copied from interface:IngressRule
Specify how the path is matched against request paths.By default, path types will be matched by prefix.
- Specified by:
getPathType
in interfaceIngressRule
- See Also:
- https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-