aws-cdk-lib.aws_apigateway.ThrottlingPerMethod

interface ThrottlingPerMethod

LanguageType name
.NETAmazon.CDK.AWS.APIGateway.ThrottlingPerMethod
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#ThrottlingPerMethod
Javasoftware.amazon.awscdk.services.apigateway.ThrottlingPerMethod
Pythonaws_cdk.aws_apigateway.ThrottlingPerMethod
TypeScript (source)aws-cdk-lib » aws_apigateway » ThrottlingPerMethod

Represents per-method throttling for a resource.

Example

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

NameTypeDescription
methodMethod[disable-awslint:ref-via-interface] The method for which you specify the throttling settings.
throttleThrottleSettingsSpecifies the overall request rate (average requests per second) and burst capacity.

method

Type: Method

[disable-awslint:ref-via-interface] The method for which you specify the throttling settings.


throttle

Type: ThrottleSettings

Specifies the overall request rate (average requests per second) and burst capacity.