Skip to main content
Version: 8 - Apfelstrudel

Connector Types

Connectors are the Cloudomation functions that allow your flow scripts to interact with the outside world - anything and everything outside of the Cloudomation platform. Whenever you want to issue a command to a program, run a script on a remote system, or get query a database - all that is performed through connectors.

There are different connector types, each for a particular type of endpoint / protocol.

Connectors are called through the Cloudomation function this.connect(). Each call creates a separate execution of type "connection", with its own inputs and outputs.

For example, you can call a REST API using the Cloudomation REST connector type:

import flow_api

def handler(system: flow_api.System, this: flow_api.Execution, inputs: dict):
inputs = {
'url': 'https://httpbin.org/post',
'method': 'post',
'data': 'payload',
}
child_execution = this.connect(connector_type='REST', **inputs, run=False)
child_execution.run_async()
# do other stuff
child_execution.wait()
outputs = child_execution.get('output_value')
this.log(outputs)
return this.success('all done')

The inputs required and outputs supplied by a connection depend on the connector type. Below your find documentation on each of the currently available connector types.

Classes

ConnectorType

ConnectorType

ConnectorTypeAWS
ConnectorTypeAZURE
ConnectorTypeAZUREAI
ConnectorTypeFTP
ConnectorTypeGIT
ConnectorTypeGOOGLE
ConnectorTypeIMAP
ConnectorTypeK8S
ConnectorTypeLDAP
ConnectorTypeMSTEAMS
ConnectorTypeMYSQL
ConnectorTypeOPENAI
ConnectorTypePS
ConnectorTypeREDIS
ConnectorTypeREST
ConnectorTypeSCP
ConnectorTypeSMB
ConnectorTypeSMTP
ConnectorTypeSOAP
ConnectorTypeSQLMSSQL
ConnectorTypeSQLORACLE
ConnectorTypeSQLPG
ConnectorTypeSSH
ConnectorTypeVAULT
ConnectorTypeWEBDAV
ConnectorTypeXMLRPC