Created
May 16, 2016 10:07
-
-
Save kevprice83/2fcbf7bc24635a91dce6be0f938e1dd6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"x-amazon-apigateway-auth": { | |
"type": "none" | |
}, | |
"x-amazon-apigateway-integration": { | |
"type": "AWS", | |
"uri": "arn:aws:apigateway:REGION:lambda:path/2015-03-31/functions/arn:aws:lambda:REGION:ACCT_ID:function:FUNCTION_NAME/invocations", | |
"credentials": "arn:aws:iam::ACCT_ID:role/lambda_gateway_execution", | |
"httpMethod": "POST", | |
"requestTemplates": { | |
"application/json": "{\"user_key\":\"$input.params('user_key')\",\"resourcePath\": \"$context.resourcePath\",\"httpMethod\": \"$context.httpMethod\",\"body\": $input.json('$')}" | |
}, | |
"requestParameters": {}, | |
"cacheNamespace": "cache-namespace", | |
"cacheKeyParameters": [], | |
"responses": { | |
"default": { | |
"statusCode": "200", | |
"responseParameters": {}, | |
"responseTemplates": { | |
"application/json": null | |
} | |
} | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment