AWS apigateway high security documentation change
Summary
Added detailed IAM policy example with Allow/Deny rules for API Gateway WebSocket access
Security assessment
The added IAM policy demonstrates explicit security controls including resource restrictions and explicit Deny rules for sensitive operations ('secret' path and connection management), providing security guidance for access management.
Diff
diff --git a/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.md b/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.md index 2d0092d81..2010825ce 100644 --- a//apigateway/latest/developerguide/apigateway-websocket-control-access-iam.md +++ b//apigateway/latest/developerguide/apigateway-websocket-control-access-iam.md @@ -27,0 +28,41 @@ For example, you could set up the following policy to the client. This example a +JSON + + +**** + + + + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "execute-api:Invoke" + ], + "Resource": [ + "arn:aws:execute-api:us-east-1:111122223333:api-id/prod/*" + ] + }, + { + "Effect": "Deny", + "Action": [ + "execute-api:Invoke" + ], + "Resource": [ + "arn:aws:execute-api:us-east-1:111122223333:api-id/prod/secret" + ] + }, + { + "Effect": "Deny", + "Action": [ + "execute-api:ManageConnections" + ], + "Resource": [ + "arn:aws:execute-api:us-east-1:111122223333:api-id/*" + ] + } + ] + } + +