ApiKeySourceType

class aws_cdk.aws_apigateway.ApiKeySourceType(value)

Bases: enum.Enum

An enumeration.

Attributes

AUTHORIZER

To read the API key from the UsageIdentifierKey from a custom authorizer.

HEADER

To read the API key from the X-API-Key header of a request.