Interface IThrottlingPerMethod
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
Represents per-method throttling for a resource.
public interface IThrottlingPerMethod
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;
Method method;
var throttlingPerMethod = new ThrottlingPerMethod {
Method = method,
Throttle = new ThrottleSettings {
BurstLimit = 123,
RateLimit = 123
}
};
Remarks
ExampleMetadata: fixture=_generated
Properties
Method
[disable-awslint:ref-via-interface] The method for which you specify the throttling settings.
Method Method { get; }
Property Value
Remarks
Default: none
Throttle
Specifies the overall request rate (average requests per second) and burst capacity.
IThrottleSettings Throttle { get; }
Property Value
Remarks
Default: none