ApiKeySourceType

class aws_cdk.aws_apigateway.ApiKeySourceType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

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.