Package org.cdk8s.plus24
Class IngressBackend
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IngressBackend(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
IngressBackend(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IngressBackend
fromResource(IResource resource)
A Resource backend is an ObjectRef to another Kubernetes resource within the same namespace as the Ingress object.static IngressBackend
fromService(Service serv)
A Kubernetes `Service` to use as the backend for this path.static IngressBackend
fromService(Service serv, ServiceIngressBackendOptions options)
A Kubernetes `Service` to use as the backend for this path.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
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.
-
-