ApiKeySourceType

class aws_cdk.aws_apigateway.ApiKeySourceType

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.

Attributes

AUTHORIZER = 'AUTHORIZER'

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

HEADER = 'HEADER'

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