All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IHttpStage, IHttpStage.Jsii$Default, IStage.Jsii$Default, IWebSocketStage, IWebSocketStage.Jsii$Default
All Known Implementing Classes:
HttpStage, IHttpStage.Jsii$Proxy, IStage.Jsii$Proxy, IWebSocketStage.Jsii$Proxy, WebSocketStage

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:02.205Z") @Stability(Stable) public interface IStage extends software.amazon.jsii.JsiiSerializable, IResource
Represents a Stage.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IStage.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the stage;
    The URL to this stage.
    metric(String metricName)
    Return the given named metric for this HTTP Api Gateway Stage.
    metric(String metricName, MetricOptions props)
    Return the given named metric for this HTTP Api Gateway Stage.

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getStageName

      @Stability(Stable) @NotNull String getStageName()
      The name of the stage;

      its primary identifier.

    • getUrl

      @Stability(Stable) @NotNull String getUrl()
      The URL to this stage.
    • metric

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

      Default: - average over 5 minutes

      Parameters:
      metricName - This parameter is required.
      props -
    • metric

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

      Default: - average over 5 minutes

      Parameters:
      metricName - This parameter is required.