Class IngressV1Beta1Backend

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

    @Generated(value="jsii-pacmak/1.59.0 (build eb02c92)",
               date="2022-05-18T23:19:48.619Z")
    @Stability(Stable)
    public class IngressV1Beta1Backend
    extends software.amazon.jsii.JsiiObject
    The backend for an ingress path.
    • Constructor Detail

      • IngressV1Beta1Backend

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

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

      • fromResource

        @Stability(Stable)
        @NotNull
        public static IngressV1Beta1Backend 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 IngressV1Beta1Backend fromService​(@NotNull
                                                        Service serv,
                                                        @Nullable
                                                        ServiceIngressV1BetaBackendOptions 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 IngressV1Beta1Backend fromService​(@NotNull
                                                        Service serv)
        A Kubernetes `Service` to use as the backend for this path.

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