A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_apigateway/ThrottlingPerMethod.html below:

Website Navigation


ThrottlingPerMethod — AWS Cloud Development Kit 1.204.0 documentation

ThrottlingPerMethod
class aws_cdk.aws_apigateway.ThrottlingPerMethod(*, method, throttle)

Bases: object

Represents per-method throttling for a resource.

Parameters:
  • method (Method) – [disable-awslint:ref-via-interface] The method for which you specify the throttling settings. Default: none

  • throttle (Union[ThrottleSettings, Dict[str, Any]]) – Specifies the overall request rate (average requests per second) and burst capacity. Default: none

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigateway as apigateway

# method: apigateway.Method

throttling_per_method = apigateway.ThrottlingPerMethod(
    method=method,
    throttle=apigateway.ThrottleSettings(
        burst_limit=123,
        rate_limit=123
    )
)

Attributes

method

ref-via-interface] The method for which you specify the throttling settings.

Default:

none

Type:

[disable-awslint

throttle

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

Default:

none


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4