hundreds-airport-72212
07/01/2024, 10:53 AMnew awsx.classic.apigateway.API(
"balance-api",
{
stageName: this.stage,
routes: [
{
path: "/v1/balance",
method: "GET",
eventHandler: getBalanceLambda,
},
],
},
)
lemon-scooter-94063
07/02/2024, 4:54 PMaws.apigateway.RestApi
that is created by the awsx.apigateway.API
4. Looking at the documentation for aws.apigateway.RestApi, there is a types property which defaults to EDGE but can be set to REGIONAL or PRIVATE.
5. Here is where you would go about setting your desired configuration
Just for context the goal of AWS crosswalk (awsx) is to simplify some of the detail that users have to worry about when deploying resources but if you find that you need fine grain level of control over the properties of many of the resources you're creating then recommendation is to use the AWS Classic provider.hundreds-airport-72212
07/05/2024, 11:45 AMnew awsx.classic.apigateway.API("balance-service-api", {
stageName: this.stage,
restApiArgs: {
name: `${this.stage}-balance-service-api`,
endpointConfiguration: {
types: "REGIONAL",
},
},
routes: [...]
})