Relative Content

Tag Archive for aws-cdk

Optional Authorizer in AWS API Gateway v2

I need to create an endpoint that returns different data based on the user’s role. If the role is not present (or the access token is missing), it should return only public data.