| Modifier and Type | Method and Description |
|---|---|
static IngressBackend |
IngressBackend.fromService(Service service)
A Kubernetes `Service` to use as the backend for this path.
|
static IngressBackend |
IngressBackend.fromService(Service service,
ServiceIngressBackendOptions options)
A Kubernetes `Service` to use as the backend for this path.
|
IngressBackend |
IngressRule.getBackend()
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
|
IngressBackend |
IngressRule.Jsii$Proxy.getBackend() |
default IngressBackend |
IngressProps.getDefaultBackend()
The default backend services requests that do not match any rule.
|
IngressBackend |
IngressProps.Jsii$Proxy.getDefaultBackend() |
| Modifier and Type | Method and Description |
|---|---|
void |
Ingress.addDefaultBackend(IngressBackend backend)
Defines the default backend for this ingress.
|
void |
Ingress.addHostDefaultBackend(String host,
IngressBackend backend)
Specify a default backend for a specific host name.
|
void |
Ingress.addHostRule(String host,
String path,
IngressBackend backend)
Adds an ingress rule applied to requests to a specific host and a specific HTTP path (the `Host` header matches this value).
|
void |
Ingress.addHostRule(String host,
String path,
IngressBackend backend,
HttpIngressPathType pathType)
Adds an ingress rule applied to requests to a specific host and a specific HTTP path (the `Host` header matches this value).
|
void |
Ingress.addRule(String path,
IngressBackend backend)
Adds an ingress rule applied to requests sent to a specific HTTP path.
|
void |
Ingress.addRule(String path,
IngressBackend backend,
HttpIngressPathType pathType)
Adds an ingress rule applied to requests sent to a specific HTTP path.
|
IngressRule.Builder |
IngressRule.Builder.backend(IngressBackend backend)
Sets the value of
IngressRule.getBackend() |
IngressProps.Builder |
IngressProps.Builder.defaultBackend(IngressBackend defaultBackend)
Sets the value of
IngressProps.getDefaultBackend() |
Ingress.Builder |
Ingress.Builder.defaultBackend(IngressBackend defaultBackend)
The default backend services requests that do not match any rule.
|
| Constructor and Description |
|---|
Jsii$Proxy(IngressBackend defaultBackend,
List<? extends IngressRule> rules,
List<? extends IngressTls> tls,
org.cdk8s.ApiObjectMetadata metadata)
Constructor that initializes the object based on literal property values passed by the
IngressProps.Builder. |
Jsii$Proxy(IngressBackend backend,
String host,
String path,
HttpIngressPathType pathType)
Constructor that initializes the object based on literal property values passed by the
IngressRule.Builder. |
Copyright © 2021. All rights reserved.