# ThrottlingPerMethod

Represents per-method throttling for a resource.

- Source: [`aws-apigateway/lib/usage-plan.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-apigateway/lib/usage-plan.ts#L71)

## 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

- `method`: [Method](/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.Method.html) (required) = none — [disable-awslint:ref-via-interface] The method for which you specify the throttling settings.

- `throttle`: [ThrottleSettings](/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.ThrottleSettings.html) (required) = none — Specifies the overall request rate (average requests per second) and burst capacity.
