Interface CfnUsagePlan.ApiStageProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUsagePlan.ApiStageProperty.Jsii$Proxy
- Enclosing class:
CfnUsagePlan
@Stability(Stable)
public static interface CfnUsagePlan.ApiStageProperty
extends software.amazon.jsii.JsiiSerializable
API stage name of the associated API stage in a usage plan.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
ApiStageProperty apiStageProperty = ApiStageProperty.builder()
.apiId("apiId")
.stage("stage")
.throttle(Map.of(
"throttleKey", ThrottleSettingsProperty.builder()
.burstLimit(123)
.rateLimit(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUsagePlan.ApiStagePropertystatic final classAn implementation forCfnUsagePlan.ApiStageProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetApiId()API Id of the associated API stage in a usage plan.default StringgetStage()API stage name of the associated API stage in a usage plan.default ObjectMap containing method level throttling information for API stage in a usage plan.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
API Id of the associated API stage in a usage plan.- See Also:
-
getStage
API stage name of the associated API stage in a usage plan.- See Also:
-
getThrottle
Map containing method level throttling information for API stage in a usage plan.- See Also:
-
builder
-