Interface IApi
Represents a API Gateway HTTP/WebSocket API.
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IApi : IResource
Syntax (vb)
Public Interface IApi
Inherits IResource, IConstruct, IDependable
Synopsis
Properties
ApiEndpoint | The default endpoint for an API. |
ApiId | The identifier of this API Gateway API. |
Methods
Metric(String, IMetricOptions) | Return the given named metric for this Api Gateway. |
Properties
ApiEndpoint
The default endpoint for an API.
string ApiEndpoint { get; }
Property Value
System.String
Remarks
Attribute: true
ApiId
The identifier of this API Gateway API.
string ApiId { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
Metric(String, IMetricOptions)
Return the given named metric for this Api Gateway.
Metric Metric(string metricName, IMetricOptions props = null)
Parameters
- metricName System.String
- props IMetricOptions
Returns
Remarks
Default: - average over 5 minutes