This is a sample ruby implementation of AWS Step Functions Activity.
$ git clone https://github.com/hosopy/aws-step-functions-hello-world
$ cd aws-step-functions-hello-world
$ bundle install
$ bundle exec ruby main.rb ${ACTIVITY_ARN}
- Input JSON must have key
who
whose type is string.
{
"who": "hoge"
}
- Output JSON has key
message
whose type is string.
{
"message": "Hello ${who}!"
}
If an input is { "who": "hoge" }
, output is
{
"message": "Hello hoge!"
}