Interface IUsagePlan
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
A UsagePlan, either managed by this CDK app, or imported.
public interface IUsagePlan : IResource, IConstruct, IConstruct, IDependable
Properties
UsagePlanId
Id of the usage plan.
string UsagePlanId { get; }
Property Value
Remarks
Attribute: true
Methods
AddApiKey(IApiKey, IAddApiKeyOptions?)
Adds an ApiKey.
void AddApiKey(IApiKey apiKey, IAddApiKeyOptions? options = null)
Parameters
apiKey
IApiKeythe api key to associate with this usage plan.
options
IAddApiKeyOptionsoptions that control the behaviour of this method.