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 for Ingress.
    • 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 both path and host 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 both host and path 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() and addHostDefaultBackend().

      • 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.