Class IngressBackend

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.65.0 (build 7a02b7f)",
               date="2022-08-21T02:57:21.416Z")
    @Stability(Stable)
    public class IngressBackend
    extends software.amazon.jsii.JsiiObject
    The backend for an ingress path.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected IngressBackend​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected IngressBackend​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • IngressBackend

        protected IngressBackend​(software.amazon.jsii.JsiiObjectRef objRef)
      • IngressBackend

        protected IngressBackend​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Method Detail

      • fromResource

        @Stability(Stable)
        @NotNull
        public static IngressBackend fromResource​(@NotNull
                                                  IResource resource)
        A Resource backend is an ObjectRef to another Kubernetes resource within the same namespace as the Ingress object.

        A common usage for a Resource backend is to ingress data to an object storage backend with static assets.

        Parameters:
        resource - This parameter is required.
      • fromService

        @Stability(Stable)
        @NotNull
        public static IngressBackend fromService​(@NotNull
                                                 Service serv,
                                                 @Nullable
                                                 ServiceIngressBackendOptions options)
        A Kubernetes `Service` to use as the backend for this path.

        Parameters:
        serv - The service object. This parameter is required.
        options -
      • fromService

        @Stability(Stable)
        @NotNull
        public static IngressBackend fromService​(@NotNull
                                                 Service serv)
        A Kubernetes `Service` to use as the backend for this path.

        Parameters:
        serv - The service object. This parameter is required.