API Gateway

[SAA + SAP] 08. API Gateway

 

Security

  • IAM Permission
    • For user has aws account
    • Authentication + authorization
    • Sigure v4
  • Lambda Authorizer
    • 3rd party tokens
    • Authentication + authorization
    • Very flexible in terms of what IAM policy is returned
    • Pay per Lambda invocation
  • Cognio Uesr Pools
    • Google, facebook.. signup / login
    • Only authencation

[SAA + SAP] 08. API Gateway

[SAA + SAP] 08. API Gateway

[SAA + SAP] 08. API Gateway

 


 

SAP

API Gateway

Limits

  • 29 seconds timeout
  • 10MB max payload size

Integrations

  • HTTP
  • Lambda 
  • AWS Service
    • For example, start an AWS Step Function workflow post a message to SQS
    • You can control the Authentication, deploy publicly, rate control

[SAA + SAP] 08. API Gateway

  • API Gateway has limit about 10 MB max payload size, so it won't be a good solution to upload a object to S3 if size is bigger than the limit.
  • Better to use Pre-Signed URL + Lambda to upload a file

[SAA + SAP] 08. API Gateway

[SAA + SAP] 08. API Gateway

[SAA + SAP] 08. API Gateway

[SAA + SAP] 08. API Gateway

  • Lambda has 15 mins timeout
  • API Gateway has 29 seconds timeout

相关文章:

  • 2022-02-09
  • 2021-09-04
  • 2021-06-12
  • 2021-08-05
  • 2021-10-26
  • 2021-09-15
  • 2021-11-27
  • 2021-11-20
猜你喜欢
  • 2021-08-29
  • 2021-08-15
  • 2021-05-17
  • 2022-03-10
  • 2021-08-09
  • 2021-09-05
  • 2021-06-22
相关资源
相似解决方案