aws-cdk-lib.aws_apigateway.ApiKeySourceType

enum ApiKeySourceType

LanguageType name
.NETAmazon.CDK.AWS.APIGateway.ApiKeySourceType
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#ApiKeySourceType
Javasoftware.amazon.awscdk.services.apigateway.ApiKeySourceType
Pythonaws_cdk.aws_apigateway.ApiKeySourceType
TypeScript (source)aws-cdk-lib » aws_apigateway » ApiKeySourceType

Members

NameDescription
HEADERTo read the API key from the X-API-Key header of a request.
AUTHORIZERTo 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.


AUTHORIZER

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