Created
March 26, 2021 13:51
-
-
Save asunar/63ae0e21189738440303dec56ef1eb1f to your computer and use it in GitHub Desktop.
This file contains 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
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