Interface IHttpApi

All Superinterfaces:
IApi, IConstruct, software.constructs.IConstruct, IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IHttpApi.Jsii$Default
All Known Implementing Classes:
HttpApi, IHttpApi.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.297Z") @Stability(Experimental) public interface IHttpApi extends software.amazon.jsii.JsiiSerializable, IApi
(experimental) Represents an HTTP API.
  • Method Details

    • getHttpApiId

      @Stability(Deprecated) @Deprecated @NotNull String getHttpApiId()
      Deprecated.
      • use apiId instead
      (deprecated) The identifier of this API Gateway HTTP API.

    • addVpcLink

      @Stability(Experimental) @NotNull VpcLink addVpcLink(@NotNull VpcLinkProps options)
      (experimental) Add a new VpcLink.

      Parameters:
      options - This parameter is required.
    • metricClientError

      @Stability(Experimental) @NotNull Metric metricClientError(@Nullable MetricOptions props)
      (experimental) Metric for the number of client-side errors captured in a given period.

      Default: - sum over 5 minutes

      Parameters:
      props -
    • metricClientError

      @Stability(Experimental) @NotNull Metric metricClientError()
      (experimental) Metric for the number of client-side errors captured in a given period.

      Default: - sum over 5 minutes

    • metricCount

      @Stability(Experimental) @NotNull Metric metricCount(@Nullable MetricOptions props)
      (experimental) Metric for the total number API requests in a given period.

      Default: - SampleCount over 5 minutes

      Parameters:
      props -
    • metricCount

      @Stability(Experimental) @NotNull Metric metricCount()
      (experimental) Metric for the total number API requests in a given period.

      Default: - SampleCount over 5 minutes

    • metricDataProcessed

      @Stability(Experimental) @NotNull Metric metricDataProcessed(@Nullable MetricOptions props)
      (experimental) Metric for the amount of data processed in bytes.

      Default: - sum over 5 minutes

      Parameters:
      props -
    • metricDataProcessed

      @Stability(Experimental) @NotNull Metric metricDataProcessed()
      (experimental) Metric for the amount of data processed in bytes.

      Default: - sum over 5 minutes

    • metricIntegrationLatency

      @Stability(Experimental) @NotNull Metric metricIntegrationLatency(@Nullable MetricOptions props)
      (experimental) Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.

      Default: - no statistic

      Parameters:
      props -
    • metricIntegrationLatency

      @Stability(Experimental) @NotNull Metric metricIntegrationLatency()
      (experimental) Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.

      Default: - no statistic

    • metricLatency

      @Stability(Experimental) @NotNull Metric metricLatency(@Nullable MetricOptions props)
      (experimental) The time between when API Gateway receives a request from a client and when it returns a response to the client.

      The latency includes the integration latency and other API Gateway overhead.

      Default: - no statistic

      Parameters:
      props -
    • metricLatency

      @Stability(Experimental) @NotNull Metric metricLatency()
      (experimental) The time between when API Gateway receives a request from a client and when it returns a response to the client.

      The latency includes the integration latency and other API Gateway overhead.

      Default: - no statistic

    • metricServerError

      @Stability(Experimental) @NotNull Metric metricServerError(@Nullable MetricOptions props)
      (experimental) Metric for the number of server-side errors captured in a given period.

      Default: - sum over 5 minutes

      Parameters:
      props -
    • metricServerError

      @Stability(Experimental) @NotNull Metric metricServerError()
      (experimental) Metric for the number of server-side errors captured in a given period.

      Default: - sum over 5 minutes