@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:46.259Z") public interface IApi extends IResource
Modifier and Type | Interface and Description |
---|---|
static interface |
IApi.Jsii$Default
Internal default implementation for
IApi . |
static class |
IApi.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiEndpoint()
(experimental) The default endpoint for an API.
|
java.lang.String |
getApiId()
(experimental) The identifier of this API Gateway API.
|
Metric |
metric(java.lang.String metricName)
(experimental) Return the given named metric for this Api Gateway.
|
Metric |
metric(java.lang.String metricName,
MetricOptions props)
(experimental) Return the given named metric for this Api Gateway.
|
applyRemovalPolicy, getEnv, getStack
getNode
java.lang.String getApiEndpoint()
java.lang.String getApiId()
Metric metric(java.lang.String metricName, MetricOptions props)
Default: - average over 5 minutes
metricName
- This parameter is required.props
- Metric metric(java.lang.String metricName)
Default: - average over 5 minutes
metricName
- This parameter is required.