(aws-apigatewayv2-authorizers): HttpUserPoolAuthorizer constructor should take and array of user pool client ids #15431
Labels
@aws-cdk/aws-apigatewayv2-authorizers
Related to aws-apigatewayv2-authorizers package
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p2
The current HttpUserPoolAuthorizer is created like this
This will synthesize to
Where the provided user pool client id end up in the
Audience
arrayUse Case
Currently it is possible to provide multiple user pool ids using a HttpJwtAuthorizer
For consistency and ease of use, HttpUserPoolAuthorizer should also allow users to pass an array of user pool clients, rather than a single one.
Proposed Solution
Allow users to pass an array of user pool clients like so
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: