Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
fix(cellgeo): re-add /invocations to integrationUri
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Oct 26, 2020
1 parent dce841b commit b2a7cfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdk/resources/CellGeolocationApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class CellGeolocationApi extends CloudFormation.Resource {
{
apiId: this.api.ref,
integrationType: 'AWS_PROXY',
integrationUri: `arn:aws:apigateway:${this.stack.region}:lambda:path/2015-03-31/functions/${healthCheck.functionArn}`,
integrationUri: `arn:aws:apigateway:${this.stack.region}:lambda:path/2015-03-31/functions/${healthCheck.functionArn}/invocations`,
integrationMethod: 'POST',
payloadFormatVersion: '1.0',
},
Expand All @@ -182,7 +182,7 @@ export class CellGeolocationApi extends CloudFormation.Resource {
{
apiId: this.api.ref,
integrationType: 'AWS_PROXY',
integrationUri: `arn:aws:apigateway:${this.stack.region}:lambda:path/2015-03-31/functions/${geolocateCell.functionArn}`,
integrationUri: `arn:aws:apigateway:${this.stack.region}:lambda:path/2015-03-31/functions/${geolocateCell.functionArn}/invocations`,
integrationMethod: 'POST',
payloadFormatVersion: '1.0',
},
Expand All @@ -207,7 +207,7 @@ export class CellGeolocationApi extends CloudFormation.Resource {
{
apiId: this.api.ref,
integrationType: 'AWS_PROXY',
integrationUri: `arn:aws:apigateway:${this.stack.region}:lambda:path/2015-03-31/functions/${addCellGeolocation.functionArn}`,
integrationUri: `arn:aws:apigateway:${this.stack.region}:lambda:path/2015-03-31/functions/${addCellGeolocation.functionArn}/invocations`,
integrationMethod: 'POST',
payloadFormatVersion: '1.0',
},
Expand Down

0 comments on commit b2a7cfe

Please sign in to comment.