Resource Naming

Amazon State Language specifies that “Resource field” MUST be a URI.

A Task State MUST include a “Resource” field, whose value MUST be
a URI that uniquely identifies the specific task to execute. The
States language does not constrain the URI scheme nor any other
part of the URI.

Function

FaaS Shell looks up the following information form the “Resource field”, and dispatch the function invocation to an appropriate FaaS vendor plug-in.

AWS

arn:aws:lambda:Region:Account:function:Function

or

frn:aws:lambda:Region:Account:function:Function

GCP

frn:gcp:functions:Location:Project:function:Function

Azure

frn:azure:functions:_:WebappName:function:Function

IBM/OpenWhisk

frn:wsk:functions:_:_:function:Action

IFTTT

frn:ifttt:webhooks:_:_:function:Applet

Common

If “Resource field” matches URI either http or https, then FaaS Shell looks up the “Function” in the predefined RDF DB such as hello_world_task.ttl.

https://naohirotamura.github.io/faasshell/ns/faas#Function

Activity

FaaS Shell judges that it’s activity task state if “Resource field” matches the following pattern. This is common among FaaS.

arn:_:states:_:_:activity:Activity

or

frn:_:states:_:_:activity:Activity

Event

FaaS Shell judges that it’s event state if “Resource field” matches the following pattern. This is common among FaaS.

frn:_:states:_:_:event:Event