Skip to content

Instantly share code, notes, and snippets.

@singledigit
Created May 7, 2021 04:34
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 singledigit/e465e472a989338db932753ed875dbd3 to your computer and use it in GitHub Desktop.
Save singledigit/e465e472a989338db932753ed875dbd3 to your computer and use it in GitHub Desktop.
AppSync HTTP resolver - StartSyncExecution for StepFunctions express workflows
{
"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"
}
}
}
}
{
"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