Class CfnUsagePlan.ThrottleSettingsProperty
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
ThrottleSettings
is a property of the AWS::ApiGateway::UsagePlan resource that specifies the overall request rate (average requests per second) and burst capacity when users call your REST APIs.
public class CfnUsagePlan.ThrottleSettingsProperty : CfnUsagePlan.IThrottleSettingsProperty
- Inheritance
-
CfnUsagePlan.ThrottleSettingsProperty
- Implements
- Inherited Members
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 throttleSettingsProperty = new ThrottleSettingsProperty {
BurstLimit = 123,
RateLimit = 123
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
ThrottleSettingsProperty()
public ThrottleSettingsProperty()
Properties
BurstLimit
The API target request burst rate limit.
public double? BurstLimit { get; set; }
Property Value
Remarks
This allows more requests through for a period of time than the target rate limit.
RateLimit
The API target request rate limit.
public double? RateLimit { get; set; }