Skip to content

Instantly share code, notes, and snippets.

@monken
Created February 27, 2019 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monken/78918374d8239bcaa60b9eb78cce8379 to your computer and use it in GitHub Desktop.
Save monken/78918374d8239bcaa60b9eb78cce8379 to your computer and use it in GitHub Desktop.
x-default-request: &request
security: [ sigv4: [] ]
responses:
200:
description: "200 response"
schema:
$ref: "#/definitions/Empty"
x-amazon-apigateway-request-validator: all
x-amazon-apigateway-integration:
responses:
default:
statusCode: 200
uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${ApiFunction.Arn}/invocations
passthroughBehavior: when_no_match
httpMethod: POST
type: aws_proxy
paths:
/some/resource:
post:
<<: *request
delete:
<<: *request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment