(AppSync): Add support for custom authorization with AWS Lambda for GraphQL APIs #16846
Closed
2 tasks
Labels
@aws-cdk/aws-appsync
Related to AWS AppSync
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Description
Since July 2021 there is a new authorization type introduced for GraphQL APIs https://aws.amazon.com/about-aws/whats-new/2021/07/aws-appsync-supports-custom-authorization-with-aws-lambda-graphsql-apis/
and is not exposed by the latest CDK release v1.126.0 https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-appsync.AuthorizationType.html
Use Case
We want to create our own authorization lambda (that we already use in the REST api) but is not available in the GraphQL API.
Proposed Solution
general Idea:
Include an authorization type
LAMBDA
in AuthorizationTypealso include a
lambdaConfig
property in AuthorizationMode in order to provide the lambda arnOther information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: