@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:01.738Z") @Stability(value=Experimental) 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)
(experimental) Adds an ApiKey.
|
void |
addApiKey(IApiKey apiKey,
AddApiKeyOptions options)
(experimental) Adds an ApiKey.
|
String |
getUsagePlanId()
(experimental) Id of the usage plan.
|
applyRemovalPolicy, getEnv, getStackgetNode@Stability(value=Experimental) @NotNull String getUsagePlanId()
@Stability(value=Experimental)
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=Experimental)
void addApiKey(@NotNull
IApiKey apiKey)
apiKey - the api key to associate with this usage plan. This parameter is required.Copyright © 2022. All rights reserved.