Skip to content

Commit 86ef0c2

Browse files
authored
Fix Cognito authorized user permissions to access locations api gateway (#688)
1 parent 48ae19d commit 86ef0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/cloudformation-templates/location.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ Resources:
339339
- Effect: Allow
340340
Action: "execute-api:Invoke"
341341
Resource:
342-
- !Sub "arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${LocationGeofenceBrowserNotificationApi}/${LocationGeofenceBrowserNotificationApiStage}/POST/@connections"
342+
- !Sub "arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${LocationGeofenceBrowserNotificationApi}/*/$connect"
343343
Roles:
344344
- !Ref CognitoAuthorizedRole
345345

0 commit comments

Comments
 (0)