Table of Contents

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

string

Remarks

Attribute: true

Methods

AddApiKey(IApiKey, IAddApiKeyOptions?)

Adds an ApiKey.

void AddApiKey(IApiKey apiKey, IAddApiKeyOptions? options = null)

Parameters

apiKey IApiKey

the api key to associate with this usage plan.

options IAddApiKeyOptions

options that control the behaviour of this method.