---
title: "Amazon API Gateway"
slug: "amazon-api-gateway"
updated: 2024-09-01T06:29:23Z
published: 2024-09-01T06:29:23Z
canonical: "docs.plainid.io/amazon-api-gateway"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plainid.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon API Gateway

{{snippet.APIGatewayAuthLink}}
The Amazon API Gateway enables developers to create, publish and monitor RESTful and WebSocket APIs to allow real-time communication between two applications (for example, the {{variable.PlatformName}} and your Organization's application).

### Use Example
![image.png](https://cdn.document360.io/726c7002-05a9-480e-b986-42c9e8824acd/Images/Documentation/image%28170%29.png)

#### Explanation
1. The end user access the app.
2. The user is redirected to complete the authentication process on the IDP.
3. The app access services/APIs in AWS. The API call is intercepted by the AWS API GW.
4. API Gateway calls the PlainID Authorizer (a PlainID-provided Lambda function).
5. The PlainID Authorizer requests an access decision from the PlainID PDP which responds with a dynamically calculated access decision based on the policies configured within the PlainID Authorization Platform.
6. Access Decisions is enforced at the API Gateway. Request can be denied or permitted as-is.
7. The client can access resources such as AWS Lambdas and API resources.
