@argodigital/formula-sl-function-evented

Serverless Component for creating EventSourceMapping between Event Source and function (Lambda).

Usage no npm install needed!

<script type="module">
  import argodigitalFormulaSlFunctionEvented from 'https://cdn.skypack.dev/@argodigital/formula-sl-function-evented';
</script>

README

formula-sl-function-evented

Serverless Component for creating EventSourceMapping between Event Source and function (Lambda).

Configure

myStreamToFunctionMap:
    component: "@argodigital/formula-sl-function-evented"
    inputs:
        EventSourceArn: ${users.StreamARN}
        FunctionName: ${usersCreate.name}
            ...

Note: at this point component does not support multiple streams attached to Lambda.