Skip to content

Instantly share code, notes, and snippets.

@asunar
Created March 26, 2021 13:51
Show Gist options
  • Save asunar/63ae0e21189738440303dec56ef1eb1f to your computer and use it in GitHub Desktop.
Save asunar/63ae0e21189738440303dec56ef1eb1f to your computer and use it in GitHub Desktop.
openapi: "3.0.1"
info:
title: "Api for processImage step func"
version: "2020-11-06 15:32:29UTC"
paths:
/:
post:
responses:
default:
description: "Default response for POST /"
x-amazon-apigateway-integration:
integrationSubtype: "StepFunctions-StartSyncExecution"
credentials:
Fn::GetAtt: [HttpApiRole, Arn]
requestParameters:
Input: "$request.body"
StateMachineArn:
Fn::GetAtt: [ProcessImageStateMachineExpressSync, Arn]
payloadFormatVersion: "1.0"
type: "aws_proxy"
connectionType: "INTERNET"
x-amazon-apigateway-cors:
allowMethods:
- "POST"
allowHeaders:
- "content-type"
maxAge: 0
allowCredentials: false
allowOrigins:
- "*"
x-amazon-apigateway-importexport-version: "1.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment