Class IngressSpec.Jsii$Proxy

  • All Implemented Interfaces:
    IngressSpec, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    IngressSpec

    @Stability(Stable)
    @Internal
    public static final class IngressSpec.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements IngressSpec
    An implementation for IngressSpec
    • 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.
    • Method Detail

      • getDefaultBackend

        public final IngressBackend getDefaultBackend()
        Description copied from interface: IngressSpec
        DefaultBackend is the backend that should handle requests that don't match any rule.

        If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.

        Specified by:
        getDefaultBackend in interface IngressSpec
      • getIngressClassName

        public final String getIngressClassName()
        Description copied from interface: IngressSpec
        IngressClassName is the name of the IngressClass cluster resource.

        The associated IngressClass defines which controller will implement the resource. This replaces the deprecated kubernetes.io/ingress.class annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.

        Specified by:
        getIngressClassName in interface IngressSpec
      • getRules

        public final List<IngressRule> getRules()
        Description copied from interface: IngressSpec
        A list of host rules used to configure the Ingress.

        If unspecified, or no rule matches, all traffic is sent to the default backend.

        Specified by:
        getRules in interface IngressSpec
      • getTls

        public final List<IngressTls> getTls()
        Description copied from interface: IngressSpec
        TLS configuration.

        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.

        Specified by:
        getTls in interface IngressSpec
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object