aws-samples / simple-websockets-chat-app

This SAM application provides the Lambda functions, DynamoDB table, and roles to allow you to build a simple chat application based on API Gateway's new WebSocket-based API feature.
MIT No Attribution
682 stars 280 forks source link

Scoped management API IAM policy permissions. #16

Closed ryanmitts closed 5 years ago

ryanmitts commented 5 years ago

Issue #, if available:

None.

Description of changes:

The IAM policy for the send message function provided the function with management API access to all your APIs. Scoping to just the API created in this sample.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.