Interface IngressProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ResourceProps
- All Known Implementing Classes:
IngressProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-08T02:54:19.242Z") @Stability(Stable) public interface IngressProps extends software.amazon.jsii.JsiiSerializable, ResourceProps
Properties for `Ingress`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIngressProps.BuilderA builder forIngressPropsstatic classIngressProps.Jsii$ProxyAn implementation forIngressProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static IngressProps.Builderbuilder()default IngressBackendgetDefaultBackend()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 bothpathandhostundefined.
-
getRules
@Stability(Stable) @Nullable default List<IngressRule> getRules()
Routing rules for this ingress.Each rule must define an
IngressBackendthat will receive the requests that match this rule. If bothhostandpathare 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.BuilderofIngressProps
-
-