Interface IApi
- All Superinterfaces:
IConstruct
,software.constructs.IConstruct
,IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IApi.Jsii$Default
,IHttpApi
,IHttpApi.Jsii$Default
,IWebSocketApi
,IWebSocketApi.Jsii$Default
- All Known Implementing Classes:
HttpApi
,IApi.Jsii$Proxy
,IHttpApi.Jsii$Proxy
,IWebSocketApi.Jsii$Proxy
,WebSocketApi
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.295Z")
@Stability(Experimental)
public interface IApi
extends software.amazon.jsii.JsiiSerializable, IResource
(experimental) Represents a API Gateway HTTP/WebSocket API.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIApi
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescription(experimental) The default endpoint for an API.getApiId()
(experimental) The identifier of this API Gateway API.(experimental) Return the given named metric for this Api Gateway.metric
(String metricName, MetricOptions props) (experimental) Return the given named metric for this Api Gateway.Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiEndpoint
(experimental) The default endpoint for an API. -
getApiId
(experimental) The identifier of this API Gateway API. -
metric
@Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return the given named metric for this Api Gateway.Default: - average over 5 minutes
- Parameters:
metricName
- This parameter is required.props
-
-
metric
(experimental) Return the given named metric for this Api Gateway.Default: - average over 5 minutes
- Parameters:
metricName
- This parameter is required.
-