I've got an API gateway setup using crosswalk. I'd...
# aws
p
I've got an API gateway setup using crosswalk. I'd like to add CORS to one of my endpoints (which has a Cognito Authorizer associated with it)... i can't seem to find any examples/docs of how to do this. Anyone have any ideas?
w
I’m not sure this helps, but the awsx package for the api gateway (https://github.com/pulumi/pulumi-awsx/blob/master/nodejs/awsx/apigateway/api.ts) has a
gatwayResponses
input property that indicates it can be used to address CORS.
p
thanks. I can't really find any usage examples tho, and it's documented as relating to swagger, so i'm not sure it's what i need.