Class ApiKeySourceType
Inheritance
System.Object
ApiKeySourceType
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ApiKeySourceType : Enum
Syntax (vb)
Public NotInheritable Class ApiKeySourceType
Inherits
Enum
Synopsis
Fields
AUTHORIZER | To read the API key from the |
HEADER | To read the API key from the |
value__ |
Fields
AUTHORIZER
To read the API key from the UsageIdentifierKey
from a custom authorizer.
public const ApiKeySourceType AUTHORIZER
Field Value
Type | Description |
---|---|
ApiKeySourceType |
HEADER
To read the API key from the X-API-Key
header of a request.
public const ApiKeySourceType HEADER
Field Value
Type | Description |
---|---|
ApiKeySourceType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |