Interface IApi.Jsii$Default

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

@Internal public static interface IApi.Jsii$Default extends IApi, IResource.Jsii$Default
Internal default implementation for IApi.
  • Method Details

    • getApiEndpoint

      @Stability(Stable) @NotNull default String getApiEndpoint()
      The default endpoint for an API.
      Specified by:
      getApiEndpoint in interface IApi
    • getApiId

      @Stability(Stable) @NotNull default String getApiId()
      The identifier of this API Gateway API.
      Specified by:
      getApiId in interface IApi
    • metric

      @Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      Return the given named metric for this Api Gateway.

      Default: - average over 5 minutes

      Specified by:
      metric in interface IApi
      Parameters:
      metricName - This parameter is required.
      props -
    • metric

      @Stability(Stable) @NotNull default Metric metric(@NotNull String metricName)
      Return the given named metric for this Api Gateway.

      Default: - average over 5 minutes

      Specified by:
      metric in interface IApi
      Parameters:
      metricName - This parameter is required.