https://pulumi.com logo
#general
Title
# general
b

brainy-magician-83981

01/26/2019, 10:32 PM
Hello! I"m looking for a pulumi article that is similar to this serverless example for setting a domain to direct to your AWS API Gateway service endpoints: https://serverless.com/blog/api-gateway-multiple-services/
w

white-balloon-205

01/27/2019, 1:11 AM
b

brainy-magician-83981

01/27/2019, 3:26 AM
Thank you for this gist!
Hi @white-balloon-205! Just following after adapting your gist. Thank u again! So questions atm are: 1. How to define the api stage. 2. How to set settings for CloudWatch I believe we set for things like compression and stage variables as part of the stage creation. What about things like Model integration? Cheers!
w

white-balloon-205

01/29/2019, 6:30 PM
How to define the api stage.
There should be a
stageName:
property on
apigateway.x.API
.
How to set settings for CloudWatch
Which settings in particular?
I believe we set for things like compression and stage variables as part of the stage creation. What about things like Model integration?
Some of this may be possible currently - other things may require passing
swaggerString
instead of
routes
so that you get 100% control over the configuration of the API gateway.
b

brainy-magician-83981

01/30/2019, 5:07 AM
Thanks Luke. I thought there was more to creating a stage then just setting the name. But yes, setting stageName worked. I can live with manually setting parameters in the console for now. Looking forward to deeper examples! 😉