Rest-API with API Gateway, Lambda and Terraform


flowchart TD; subgraph a[iam role] a1[iam policy]; end; a1-->B[CloudWatch Log]; A[Lambda]-->a; subgraph c[API Gateway] direction LR; c1[resource]-->c2[method]; c2-->c3[integration]; c3-->c4[deployment]; c5[API Key]-->c6[Usage Plan Key]; c6-->c7[Usage Plan]; c7-->c2; end; c[API Gateway]-->|lambda permission|A;

References