@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.169Z") @Stability(value=Stable) public interface IUsagePlan extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IUsagePlan.Jsii$Default
Internal default implementation for
IUsagePlan. |
static class |
IUsagePlan.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addApiKey(IApiKey apiKey)
Adds an ApiKey.
|
void |
addApiKey(IApiKey apiKey,
AddApiKeyOptions options)
Adds an ApiKey.
|
String |
getUsagePlanId()
Id of the usage plan.
|
applyRemovalPolicy, getEnv, getStack@Stability(value=Stable) @NotNull String getUsagePlanId()
@Stability(value=Stable)
void addApiKey(@NotNull
IApiKey apiKey,
@Nullable
AddApiKeyOptions options)
apiKey - the api key to associate with this usage plan. This parameter is required.options - options that control the behaviour of this method.@Stability(value=Stable)
void addApiKey(@NotNull
IApiKey apiKey)
apiKey - the api key to associate with this usage plan. This parameter is required.Copyright © 2022. All rights reserved.