Bare-bones Swagger Example for API Gateway Simplified Proxy Features

Amazon API Gateway just made it a LOT easier to build an API to front an existing HTTP backend or Lambda functions.

Recent additions of a few simple but powerful new features reduce the amount of configuration needed to build an API Gateway proxy by several times. No more mapping templates, parameter mapping, response mappings, etc. (unless you need them).

Here’s a super simple example demonstrating the 3 new features (greedy path parameter, “ANY” method, and proxy integration types).

This API will accept requests using any HTTP method to any subpath of any depth under either /http or /lambda. Any request under /http will proxy all headers, path parameters, and query string parameters to the HTTP integration ( Any request under /lambda will invoke a Lambda function with complete API request data in accordance with the proxy convention defined here.

swagger: "2.0"
  version: "2016-09-23T22:23:23Z"
  title: "Simple Proxy Example - Ryan Green"
host: ""
basePath: "/demo"
- "https"
      - name: "proxy"
        in: "path"
        type: "http_proxy"
        uri: "{proxy}"
        httpMethod: "ANY"
        passthroughBehavior: "when_no_match"
          integration.request.path.proxy: "method.request.path.proxy"
      - name: "proxy"
        in: "path"
      responses: {}
        type: "aws_proxy"
        uri: "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:[MY_ACCOUNT_ID]]:function:[MY_FUNCTION_NAME]]/invocations"
        passthroughBehavior: "when_no_match"
        httpMethod: "POST"

Write a Comment



  • republican gay dating ap

    single gay dating site

  • oc gay chat rooms

    gay chat randome

  • free chat network gay

    gay page chat roulette

  • gay dating denver, co

    gay dating sites defiance ohio

  • free chat now gay

    free gay chat rooms by zip code

  • dating a gay porn star

    russia gay dating profiles

  • gay fetish dating app

    gay teen dating sites

  • gay dating argentina

    college gay dating site

  • free dating gay site

    gay punk dating

  • gay christian dating app

    the gay dating shows

  • the best gay dating sites

    palm springs ca mature gay bisexual dating

  • 3scorching


  • 3miocene


  • essay writing services legit

    enduring issues essay examples

  • what is a good sat essay score

    analysis essay outline

  • tuskegee experiment essay

    should college be free essay

  • what's an essay

    an argumentative essay

  • best essay writing services

    essay maker

  • another word for however in an essay

    beowulf essay

  • college essay guy

    conclusion of an essay

  • problem solution essay topics

    400 word essay

  • transition words for essay

    how to quote someone in an essay

  • palm beach state critical thinking in nursing

    critical thinking in college

  • critical-thinking

    synonym for critical thinking

  • what is the definition of critical thinking

    critical thinking jobs

  • characteristics of critical thinking

    critical thinking assignment

  • nyc free online gay dating

    gay international dating sites

  • free gay dating in duluth mn

    dating websites gay

  • gay dating reddit

    free gay latino dating

  • writing a good college essay

    write a good essay

  • high school essay writing

    writing compare and contrast essays

  • writing descriptive essays

    writing a descriptive essay

  • writing an essay intro

    writing essays in college

  • mgm online casino nj

    online casino ideal

  • online casino live roulette

    888 online casino

  • pc sex fuck games

    gravity falls sex games

  • jav tv sex games ixnn

    multiplayer online sex games

  • best casino reviews

    online casino best bonus

  • no deposit casino games

    online casinos for us players

  • essay writing company

    writing a essay

  • pay essay writing

    best online essay writing service

  • pay to write essay

    writing expository essays

  • writing an essay for college admission

    writing college admission essays

  • writing essay online

    what to write for college essay

  • gay dating sierra vista

    young gay dating sites

  • site for gay chubby dating

    buzzfeed lesbian gay dating

  • dating gay blind men

    dating subreddit for gay guys

  • men's gay dating websites

    a4a gay dating

  • gay men dating trans men

    gay online dating

  • michael brandes gay dating

    bluie gay dating

  • omar mateen gay dating profile

    asian gay dating site dragons

  • gay lesbian dating

    adam 4 adam gay dating

  • asian men dating site gay men

    silverman dating gay

  • keto blueberry muffins

    low cholesterol keto diet