Show / Hide Table of Contents

Class Period

Time period for which quota settings apply.

Inheritance
System.Object
Period
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class Period : Enum
Syntax (vb)
Public NotInheritable Class Period
    Inherits

     Enum
Remarks

ExampleMetadata: infused

Examples
RestApi api;


var key = new RateLimitedApiKey(this, "rate-limited-api-key", new RateLimitedApiKeyProps {
    CustomerId = "hello-customer",
    Stages = new [] { api.DeploymentStage },
    Quota = new QuotaSettings {
        Limit = 10000,
        Period = Period.MONTH
    }
});

Synopsis

Fields

DAY
MONTH
value__
WEEK

Fields

DAY

public const Period DAY
Field Value
Type Description
Period

MONTH

public const Period MONTH
Field Value
Type Description
Period

value__

public int value__
Field Value
Type Description
System.Int32

WEEK

public const Period WEEK
Field Value
Type Description
Period
Back to top Generated by DocFX