Package org.cdk8s.plus24
Interface ServiceIngressBackendOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceIngressBackendOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:01.947Z") @Stability(Stable) public interface ServiceIngressBackendOptions extends software.amazon.jsii.JsiiSerializable
Options for setting up backends for ingress rules.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ServiceIngressBackendOptions.Builder
A builder forServiceIngressBackendOptions
static class
ServiceIngressBackendOptions.Jsii$Proxy
An implementation forServiceIngressBackendOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ServiceIngressBackendOptions.Builder
builder()
default Number
getPort()
The port to use to access the service.
-
-
-
Method Detail
-
getPort
@Stability(Stable) @Nullable default Number getPort()
The port to use to access the service.- This option will fail if the service does not expose any ports.
- If the service exposes multiple ports, this option must be specified.
- If the service exposes a single port, this option is optional and if specified, it must be the same port exposed by the service.
Default: - if the service exposes a single port, this port will be used.
-
builder
@Stability(Stable) static ServiceIngressBackendOptions.Builder builder()
-
-