Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#aws
Title
p
powerful-furniture-83753
12/11/2020, 10:39 AM
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
witty-candle-66007
12/11/2020, 1:53 PM
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
powerful-furniture-83753
12/12/2020, 12:48 PM
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.
Post