interface ApiStageProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGateway.CfnUsagePlan.ApiStageProperty |
Java | software.amazon.awscdk.services.apigateway.CfnUsagePlan.ApiStageProperty |
Python | aws_cdk.aws_apigateway.CfnUsagePlan.ApiStageProperty |
TypeScript | @aws-cdk/aws-apigateway » CfnUsagePlan » ApiStageProperty |
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 * as apigateway from '@aws-cdk/aws-apigateway';
const apiStageProperty: apigateway.CfnUsagePlan.ApiStageProperty = {
apiId: 'apiId',
stage: 'stage',
throttle: {
throttleKey: {
burstLimit: 123,
rateLimit: 123,
},
},
};
Properties
Name | Type | Description |
---|---|---|
api | string | API Id of the associated API stage in a usage plan. |
stage? | string | API stage name of the associated API stage in a usage plan. |
throttle? | IResolvable | { [string]: IResolvable | Throttle } | Map containing method level throttling information for API stage in a usage plan. |
apiId?
Type:
string
(optional)
API Id of the associated API stage in a usage plan.
stage?
Type:
string
(optional)
API stage name of the associated API stage in a usage plan.
throttle?
Type:
IResolvable
| { [string]:
IResolvable
|
Throttle
}
(optional)
Map containing method level throttling information for API stage in a usage plan.