Class CfnUsagePlan.ApiStageProperty
API stage name of the associated API stage in a usage plan.
Inheritance
System.Object
CfnUsagePlan.ApiStageProperty
Implements
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public class ApiStageProperty : Object, CfnUsagePlan.IApiStageProperty
Syntax (vb)
Public Class ApiStageProperty
Inherits Object
Implements CfnUsagePlan.IApiStageProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
var apiStageProperty = new ApiStageProperty {
ApiId = "apiId",
Stage = "stage",
Throttle = new Dictionary<string, object> {
{ "throttleKey", new ThrottleSettingsProperty {
BurstLimit = 123,
RateLimit = 123
} }
}
};
Synopsis
Constructors
ApiStageProperty() |
Properties
ApiId | API Id of the associated API stage in a usage plan. |
Stage | API stage name of the associated API stage in a usage plan. |
Throttle | Map containing method level throttling information for API stage in a usage plan. |
Constructors
ApiStageProperty()
public ApiStageProperty()
Properties
ApiId
API Id of the associated API stage in a usage plan.
public string ApiId { get; set; }
Property Value
System.String
Remarks
Stage
API stage name of the associated API stage in a usage plan.
public string Stage { get; set; }
Property Value
System.String
Remarks
Throttle
Map containing method level throttling information for API stage in a usage plan.
public object Throttle { get; set; }
Property Value
System.Object