Table of Contents

Class ThrottlingPerMethod

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll

Represents per-method throttling for a resource.

public class ThrottlingPerMethod : IThrottlingPerMethod
Inheritance
ThrottlingPerMethod
Implements
Inherited Members

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
                }
            };

Remarks

ExampleMetadata: fixture=_generated

Constructors

ThrottlingPerMethod()

public ThrottlingPerMethod()

Properties

Method

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

public Method Method { get; set; }

Property Value

Method

Remarks

Default: none

Throttle

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

public IThrottleSettings Throttle { get; set; }

Property Value

IThrottleSettings

Remarks

Default: none