Simple HTTP API SAM template with a non-authenticated endpoint and an authenticated endpoint using Amazon Cognito as the identity provider.
Creates an HTTP API with a JWT authorizer
Creates an open route
Creates a route requiring authorization
Creates a route requiring authorization and a custom scope "Admins-{Audience}"
Creates a route requiring authorization and a custom scope "SU-{Audience}"
Creates a route requiring authorization and a custom scope "Admins-{Audience}" or "SU-{Audience}"
Creates an unauthenticated $default route as a catchall