Show / Hide Table of Contents

Class CfnUsagePlan.QuotaSettingsProperty

QuotaSettings is a property of the AWS::ApiGateway::UsagePlan resource that specifies a target for the maximum number of requests users can make to your REST APIs.

Inheritance
System.Object
CfnUsagePlan.QuotaSettingsProperty
Implements
CfnUsagePlan.IQuotaSettingsProperty
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class QuotaSettingsProperty : Object, CfnUsagePlan.IQuotaSettingsProperty
Syntax (vb)
Public Class QuotaSettingsProperty
    Inherits Object
    Implements CfnUsagePlan.IQuotaSettingsProperty
Remarks

In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using AWS Budgets to monitor costs and AWS WAF to manage API requests.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html

ExampleMetadata: fixture=_generated

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;

var quotaSettingsProperty = new QuotaSettingsProperty {
    Limit = 123,
    Offset = 123,
    Period = "period"
};

Synopsis

Constructors

QuotaSettingsProperty()

Properties

Limit

The target maximum number of requests that can be made in a given time period.

Offset

The number of requests subtracted from the given limit in the initial time period.

Period

The time period in which the limit applies.

Constructors

QuotaSettingsProperty()

public QuotaSettingsProperty()

Properties

Limit

The target maximum number of requests that can be made in a given time period.

public Nullable<double> Limit { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html#cfn-apigateway-usageplan-quotasettings-limit

Offset

The number of requests subtracted from the given limit in the initial time period.

public Nullable<double> Offset { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html#cfn-apigateway-usageplan-quotasettings-offset

Period

The time period in which the limit applies.

public string Period { get; set; }
Property Value

System.String

Remarks

Valid values are "DAY", "WEEK" or "MONTH".

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html#cfn-apigateway-usageplan-quotasettings-period

Implements

CfnUsagePlan.IQuotaSettingsProperty
Back to top Generated by DocFX