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