Created
May 7, 2021 04:34
-
-
Save singledigit/e465e472a989338db932753ed875dbd3 to your computer and use it in GitHub Desktop.
AppSync HTTP resolver - StartSyncExecution for StepFunctions express workflows
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
{ | |
"apiId": "xxxxxxxxxxxxxxxxxxxxxxxxxx", | |
"name": "sync_step_function", | |
"description": "step function test", | |
"type": "HTTP", | |
"serviceRoleArn": "arn:aws:iam::xxxxxxx:role/appsync-step-function", | |
"httpConfig": { | |
"endpoint": "https://sync-states.us-east-2.amazonaws.com", | |
"authorizationConfig": { | |
"authorizationType": "AWS_IAM", | |
"awsIamConfig": { | |
"signingRegion": "us-east-2", | |
"signingServiceName": "states" | |
} | |
} | |
} | |
} |
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
{ | |
"version": "2018-05-29", | |
"method": "POST", | |
"resourcePath": "/", | |
"params":{ | |
"headers": { | |
"content-type": "application/x-amz-json-1.0", | |
"x-amz-target": "AWSStepFunctions.StartSyncExecution" | |
}, | |
"body": { | |
"stateMachineArn": "arn:aws:states:us-east-2:xxxxxxxxx:stateMachine:xxxxxxxx", | |
"name": "xxxxxx" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment