Note_Tech

All technological notes.


Project maintained by simonangel-fong Hosted on GitHub Pages — Theme by mattgraham

AWS - API Gateway

Back


AWS API Gateway


API Type


Integrations High Level


Endpoint Types


Security


Use Case

Building a Serverless API

gateway_example


Kinesis Data Streams

gateway_example02.png


Hands-on

gateway_handson09

gateway_handson10

import json

def lambda_handler(event, context):
    body = "Hello from Lambda!"
    statusCode = 200
    return {
        "statusCode": statusCode,
        "body": json.dumps(body),
        "headers": {
            "Content-Type": "application/json"
        }
    }

gateway_handson11

gateway_handson01

gateway_handson02

gateway_handson03

gateway_handson05

gateway_handson04

gateway_handson06

gateway_handson06

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08

gateway_handson08


TOP