@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:02.503Z") @Stability(value=Experimental) public class HttpStage extends Resource implements IStage
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpStage.Builder
(experimental) A fluent builder for
HttpStage. |
software.amazon.jsii.JsiiObject.InitializationModeIStage.Jsii$Default, IStage.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
HttpStage(software.constructs.Construct scope,
String id,
HttpStageProps props) |
protected |
HttpStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
HttpStage(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IStage |
fromStageName(software.constructs.Construct scope,
String id,
String stageName)
(experimental) Import an existing stage into this CDK app.
|
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.
|
generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStackgetNode, 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 HttpStage(software.amazon.jsii.JsiiObjectRef objRef)
protected HttpStage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public HttpStage(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
HttpStageProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IStage fromStageName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String stageName)
scope - This parameter is required.id - This parameter is required.stageName - This parameter is required.@Stability(value=Experimental) @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
Default: - average over 5 minutes
metricName - This parameter is required.props - @Stability(value=Experimental) @NotNull public Metric metric(@NotNull String metricName)
Default: - average over 5 minutes
metricName - This parameter is required.@Stability(value=Experimental) @NotNull public Metric metricClientError(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricClientError()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricCount(@Nullable MetricOptions props)
Default: - SampleCount over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricCount()
Default: - SampleCount over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricDataProcessed(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricDataProcessed()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricIntegrationLatency(@Nullable MetricOptions props)
Default: - no statistic
props - @Stability(value=Experimental) @NotNull public Metric metricIntegrationLatency()
Default: - no statistic
@Stability(value=Experimental) @NotNull public Metric metricLatency(@Nullable MetricOptions props)
The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
props - @Stability(value=Experimental) @NotNull public Metric metricLatency()
The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
@Stability(value=Experimental) @NotNull public Metric metricServerError(@Nullable MetricOptions props)
Default: - sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricServerError()
Default: - sum over 5 minutes
@Stability(value=Experimental) @NotNull public String getStageName()
its primary identifier.
getStageName in interface IStage@Stability(value=Experimental) @NotNull public String getUrl()
Copyright © 2020. All rights reserved.