Skip to content
v2.275.0

ThrottlingPerMethod Struct ​

Represents per-method throttling for a resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as apigateway } from 'aws-cdk-lib';

declare const method: apigateway.Method;
const throttlingPerMethod: apigateway.ThrottlingPerMethod = {
  method: method,
  throttle: {
    burstLimit: 123,
    rateLimit: 123,
  },
};

Properties ​

methodMethodmethodMethodmethodMethodMethodMethodMethodMethod= nonerequired#
[disable-awslint:ref-via-interface] The method for which you specify the throttling settings.
throttleThrottleSettingsthrottleThrottleSettingsthrottleThrottleSettingsThrottleThrottleSettingsThrottleThrottleSettings= nonerequired#
Specifies the overall request rate (average requests per second) and burst capacity.