Interface IStage
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,IStageRef,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.126.0 (build 206d44b)",
date="2026-02-09T14:39:02.587Z")
@Stability(Stable)
public interface IStage
extends software.amazon.jsii.JsiiSerializable, IResource, IStageRef
Represents a Stage.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIStage.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStageVariable(String name, String value) Adds a stage variable to this stage.The name of the stage;getUrl()The URL to this stage.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
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.interfaces.apigatewayv2.IStageRef
getStageRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStageName
The name of the stage;its primary identifier.
-
getUrl
The URL to this stage. -
addStageVariable
Adds a stage variable to this stage.- Parameters:
name- The name of the stage variable. This parameter is required.value- The value of the stage variable. This parameter is required.
-
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
Return the given named metric for this HTTP Api Gateway Stage.Default: - average over 5 minutes
- Parameters:
metricName- This parameter is required.
-