Interface HttpGetAction

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

    @Generated(value="jsii-pacmak/1.88.0 (build eaabd08)",
               date="2023-09-11T06:17:58.551Z")
    @Stability(Stable)
    public interface HttpGetAction
    extends software.amazon.jsii.JsiiSerializable
    HTTPGetAction describes an action based on HTTP Get requests.
    • Method Detail

      • getPort

        @Stability(Stable)
        @NotNull
        IntOrString getPort()
        Name or number of the port to access on the container.

        Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

      • getHost

        @Stability(Stable)
        @Nullable
        default String getHost()
        Host name to connect to, defaults to the pod IP.

        You probably want to set "Host" in httpHeaders instead.

      • getHttpHeaders

        @Stability(Stable)
        @Nullable
        default List<HttpHeader> getHttpHeaders()
        Custom headers to set in the request.

        HTTP allows repeated headers.

      • getPath

        @Stability(Stable)
        @Nullable
        default String getPath()
        Path to access on the HTTP server.
      • getScheme

        @Stability(Stable)
        @Nullable
        default String getScheme()
        Scheme to use for connecting to the host.

        Defaults to HTTP.

        Default: HTTP.