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.
    • 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.