From the `aws.apigateway.Stage` I can't find the c...
# general
e
From the
aws.apigateway.Stage
I can't find the correct arguments.
w
As with many things in APIGateway, this is in an unusual place in the API but is possible:
Copy code
const settings = new aws.apigateway.MethodSettings(name, {
            restApi: api,
            stageName: stageName,
            methodPath: "*/*",
            settings: [{
                metricsEnabled: true,
                loggingLevel: "INFO",
            }],
        });
See also https://github.com/pulumi/pulumi-cloud/issues/319 where we were discussing how to enable this by default in the
@pulumi/cloud
wrappers over API Gateway - which also calls out the need for account level configuration for this to work.
e
Thanks. The API Gateway has some quite interesting API choices...