pulumi / pulumi-aws-apigateway

Apache License 2.0
12 stars 5 forks source link

Add 'description' to RestAPI #116 #142

Closed thomas11 closed 7 months ago

thomas11 commented 7 months ago

Add the description property to the RestAPI resource.

Resolves #116

It would be better to add all properties of aws.apigateway.RestApi as optional overrides, but that's blocked by pulumi/pulumi#8104.

thomas11 commented 7 months ago

It's a little funny that there's no actual change to where we use the RestAPIArgs, but I guess this would even work without the change to the interface given it's all just dynamic at runtime - so the imporant change is the schema to allow access?

I was confused by this as well at first. The key is this line where all RestAPI args are passed on implicitly.