Interface IUsagePlan
A UsagePlan, either managed by this CDK app, or imported.
Inherited Members
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IUsagePlan : IResource, IUsagePlanRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface IUsagePlan Inherits IResource, IUsagePlanRef, IConstruct, IDependable, IEnvironmentAware
Synopsis
Properties
| UsagePlanId | Id of the usage plan. |
Methods
| AddApiKey(IApiKeyRef, IAddApiKeyOptions?) | Adds an ApiKey. |
Properties
UsagePlanId
Methods
AddApiKey(IApiKeyRef, IAddApiKeyOptions?)
Adds an ApiKey.
void AddApiKey(IApiKeyRef apiKey, IAddApiKeyOptions? options = null)
Parameters
- apiKey IApiKeyRef
the api key to associate with this usage plan.
- options IAddApiKeyOptions
options that control the behaviour of this method.