Giter Club home page Giter Club logo

aws-gw-lambda's Introduction

AWS Gateway Lambda 调用

利用静态资源重定向规则,对自定义的路径触发重定向API Gateway,状态码为307,是GET请求,从而执行触发器里的程序逻辑

仓库代码主要呈现触发器执行的工程文件

  1. 主要涉及获取重定向的请求参数

  2. 响应:可以是状态码为301的重定向,呈现图片资源。也可以无状态响应

基本编译

将工程编译二进制文件,并进行zip文件打包,上传到AWS的触发器代码源处

参考

aws api gateway 官方

aws-s3-lambda-api-gateway-at-golang

落地:

gw-resize-image-tool

开发难点:

gif resize issue Cloud Front cahce issue

aws-gw-lambda's People

Contributors

byronliang avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.