Interface ServiceReference

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ServiceReference.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)",
               date="2022-09-13T15:58:20.212Z")
    @Stability(Stable)
    public interface ServiceReference
    extends software.amazon.jsii.JsiiSerializable
    ServiceReference holds a reference to Service.legacy.k8s.io.
    • Method Detail

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        `name` is the name of the service.

        Required

      • getNamespace

        @Stability(Stable)
        @NotNull
        String getNamespace()
        `namespace` is the namespace of the service.

        Required

      • getPath

        @Stability(Stable)
        @Nullable
        default String getPath()
        `path` is an optional URL path which will be sent in any request to this service.
      • getPort

        @Stability(Stable)
        @Nullable
        default Number getPort()
        If specified, the port on the service that hosting webhook.

        Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).

        Default: 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).