Interface IngressProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,ResourceProps
- All Known Implementing Classes:
IngressProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.85.0 (build 08ee592)", date="2023-07-25T00:18:39.029Z") @Stability(Stable) public interface IngressProps extends software.amazon.jsii.JsiiSerializable, ResourceProps
Properties forIngress
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IngressProps.Builder
A builder forIngressProps
static class
IngressProps.Jsii$Proxy
An implementation forIngressProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static IngressProps.Builder
builder()
default IngressBackend
getDefaultBackend()
The default backend services requests that do not match any rule.default List<IngressRule>
getRules()
Routing rules for this ingress.default List<IngressTls>
getTls()
TLS settings for this ingress.-
Methods inherited from interface org.cdk8s.plus24.ResourceProps
getMetadata
-
-
-
-
Method Detail
-
getDefaultBackend
@Stability(Stable) @Nullable default IngressBackend getDefaultBackend()
The default backend services requests that do not match any rule.Using this option or the
addDefaultBackend()
method is equivalent to adding a rule with bothpath
andhost
undefined.
-
getRules
@Stability(Stable) @Nullable default List<IngressRule> getRules()
Routing rules for this ingress.Each rule must define an
IngressBackend
that will receive the requests that match this rule. If bothhost
andpath
are not specifiec, this backend will be used as the default backend of the ingress.You can also add rules later using
addRule()
,addHostRule()
,addDefaultBackend()
andaddHostDefaultBackend()
.
-
getTls
@Stability(Stable) @Nullable default List<IngressTls> getTls()
TLS settings for this ingress.Using this option tells the ingress controller to expose a TLS endpoint. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
-
builder
@Stability(Stable) static IngressProps.Builder builder()
- Returns:
- a
IngressProps.Builder
ofIngressProps
-
-