Interface IUsagePlanPerApiStage
Represents the API stages that a usage plan applies to.
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IUsagePlanPerApiStage
Syntax (vb)
Public Interface IUsagePlanPerApiStage
Remarks
ExampleMetadata: infused
Examples
UsagePlan plan;
RestApi api;
Method echoMethod;
plan.AddApiStage(new UsagePlanPerApiStage {
Stage = api.DeploymentStage,
Throttle = new [] { new ThrottlingPerMethod {
Method = echoMethod,
Throttle = new ThrottleSettings {
RateLimit = 10,
BurstLimit = 2
}
} }
});
Synopsis
Properties
Api | |
Stage | [disable-awslint:ref-via-interface]. |
Throttle |
Properties
Api
Stage
[disable-awslint:ref-via-interface].
virtual Stage Stage { get; }
Property Value
Remarks
Default: none
Throttle
virtual IThrottlingPerMethod[] Throttle { get; }
Property Value
Remarks
Default: none