@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:21.445Z") @Stability(value=Experimental) public class WebSocketStage extends Resource implements IWebSocketStage, IStage
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSocketStage.Builder
(experimental) A fluent builder for
WebSocketStage. |
software.amazon.jsii.JsiiObject.InitializationModeIWebSocketStage.Jsii$Default, IWebSocketStage.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
WebSocketStage(software.constructs.Construct scope,
String id,
WebSocketStageProps props) |
protected |
WebSocketStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
WebSocketStage(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IWebSocketStage |
fromWebSocketStageAttributes(software.constructs.Construct scope,
String id,
WebSocketStageAttributes attrs)
(experimental) Import an existing stage into this CDK app.
|
IWebSocketApi |
getApi()
(experimental) The API this stage is associated to.
|
protected IApi |
getBaseApi() |
String |
getStageName()
(experimental) The name of the stage;
|
String |
getUrl()
(experimental) The URL to this stage.
|
Metric |
metric(String metricName)
(experimental) Return the given named metric for this HTTP Api Gateway Stage.
|
Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this HTTP Api Gateway Stage.
|
Metric |
metricClientError()
(experimental) Metric for the number of client-side errors captured in a given period.
|
Metric |
metricClientError(MetricOptions props)
(experimental) Metric for the number of client-side errors captured in a given period.
|
Metric |
metricCount()
(experimental) Metric for the total number API requests in a given period.
|
Metric |
metricCount(MetricOptions props)
(experimental) Metric for the total number API requests in a given period.
|
Metric |
metricDataProcessed()
(experimental) Metric for the amount of data processed in bytes.
|
Metric |
metricDataProcessed(MetricOptions props)
(experimental) Metric for the amount of data processed in bytes.
|
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.
|
Metric |
metricIntegrationLatency(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.
|
Metric |
metricLatency()
(experimental) The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
Metric |
metricLatency(MetricOptions props)
(experimental) The time between when API Gateway receives a request from a client and when it returns a response to the client.
|
Metric |
metricServerError()
(experimental) Metric for the number of server-side errors captured in a given period.
|
Metric |
metricServerError(MetricOptions props)
(experimental) Metric for the number of server-side errors captured in a given period.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected WebSocketStage(software.amazon.jsii.JsiiObjectRef objRef)
protected WebSocketStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public WebSocketStage(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
WebSocketStageProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IWebSocketStage fromWebSocketStageAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull WebSocketStageAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
@Stability(value=Experimental) @NotNull public Metric metric(@NotNull String metricName)
@Stability(value=Experimental) @NotNull public Metric metricClientError(@Nullable MetricOptions props)
metricClientError in interface IStageprops - @Stability(value=Experimental) @NotNull public Metric metricClientError()
metricClientError in interface IStage@Stability(value=Experimental) @NotNull public Metric metricCount(@Nullable MetricOptions props)
metricCount in interface IStageprops - @Stability(value=Experimental) @NotNull public Metric metricCount()
metricCount in interface IStage@Stability(value=Experimental) @NotNull public Metric metricDataProcessed(@Nullable MetricOptions props)
metricDataProcessed in interface IStageprops - @Stability(value=Experimental) @NotNull public Metric metricDataProcessed()
metricDataProcessed in interface IStage@Stability(value=Experimental) @NotNull public Metric metricIntegrationLatency(@Nullable MetricOptions props)
metricIntegrationLatency in interface IStageprops - @Stability(value=Experimental) @NotNull public Metric metricIntegrationLatency()
metricIntegrationLatency in interface IStage@Stability(value=Experimental) @NotNull public Metric metricLatency(@Nullable MetricOptions props)
The latency includes the integration latency and other API Gateway overhead.
metricLatency in interface IStageprops - @Stability(value=Experimental) @NotNull public Metric metricLatency()
The latency includes the integration latency and other API Gateway overhead.
metricLatency in interface IStage@Stability(value=Experimental) @NotNull public Metric metricServerError(@Nullable MetricOptions props)
metricServerError in interface IStageprops - @Stability(value=Experimental) @NotNull public Metric metricServerError()
metricServerError in interface IStage@Stability(value=Experimental) @NotNull public IWebSocketApi getApi()
getApi in interface IWebSocketStage@Stability(value=Experimental) @NotNull protected IApi getBaseApi()
@Stability(value=Experimental) @NotNull public String getStageName()
its primary identifier.
getStageName in interface IStageCopyright © 2021. All rights reserved.