@Internal public static interface IWebSocketApi.Jsii$Default extends IWebSocketApi, IApi.Jsii$Default
IWebSocketApi.IWebSocketApi.Jsii$Default, IWebSocketApi.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default String |
getApiEndpoint()
(experimental) The default endpoint for an API.
|
default String |
getApiId()
(experimental) The identifier of this API Gateway API.
|
default ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default ConstructNode |
getNode()
(experimental) The construct tree node for this construct.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this Api Gateway.
|
default Metric |
metricClientError(MetricOptions props)
(experimental) Metric for the number of client-side errors captured in a given period.
|
default Metric |
metricCount(MetricOptions props)
(experimental) Metric for the total number API requests in a given period.
|
default Metric |
metricDataProcessed(MetricOptions props)
(experimental) Metric for the amount of data processed in bytes.
|
default 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.
|
default 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.
|
default Metric |
metricServerError(MetricOptions props)
(experimental) Metric for the number of server-side errors captured in a given period.
|
metric, metricClientError, metricCount, metricDataProcessed, metricIntegrationLatency, metricLatency, metricServerError@Stability(value=Experimental) @NotNull default ConstructNode getNode()
getNode in interface IApi.Jsii$DefaultgetNode in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IApi.Jsii$DefaultgetEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default Stack getStack()
getStack in interface IApi.Jsii$DefaultgetStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default String getApiEndpoint()
getApiEndpoint in interface IApigetApiEndpoint in interface IApi.Jsii$Default@Stability(value=Experimental) @NotNull default String getApiId()
getApiId in interface IApigetApiId in interface IApi.Jsii$Default@Stability(value=Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
Default: - average over 5 minutes
metric in interface IApimetric in interface IApi.Jsii$DefaultmetricName - This parameter is required.props - @Stability(value=Experimental) @NotNull default Metric metricClientError(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricClientError in interface IApimetricClientError in interface IApi.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull default Metric metricCount(@Nullable MetricOptions props)
Default: - SampleCount over 5 minutes
metricCount in interface IApimetricCount in interface IApi.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull default Metric metricDataProcessed(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricDataProcessed in interface IApimetricDataProcessed in interface IApi.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull default Metric metricIntegrationLatency(@Nullable MetricOptions props)
Default: - no statistic
metricIntegrationLatency in interface IApimetricIntegrationLatency in interface IApi.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull default Metric metricLatency(@Nullable MetricOptions props)
The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
metricLatency in interface IApimetricLatency in interface IApi.Jsii$Defaultprops - @Stability(value=Experimental) @NotNull default Metric metricServerError(@Nullable MetricOptions props)
Default: - sum over 5 minutes
metricServerError in interface IApimetricServerError in interface IApi.Jsii$Defaultprops - Copyright © 2021. All rights reserved.