Package org.cdk8s.plus22
Class IngressBackend
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus22.IngressBackend
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-11T03:06:35.023Z") @Stability(Stable) public class IngressBackend extends software.amazon.jsii.JsiiObject
The backend for an ingress path.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIngressBackend(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedIngressBackend(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IngressBackendfromResource(IResource resource)A Resource backend is an ObjectRef to another Kubernetes resource within the same namespace as the Ingress object.static IngressBackendfromService(Service serv)A Kubernetes `Service` to use as the backend for this path.static IngressBackendfromService(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.
-
-