AWS Lambda Functions
As part of Webhooks, it is possible to integrate with various systems.
AWS Lambda Functions provide event-driven serverless compute functions which allow users to easily run code whenever events are sent to it. These can be very useful for integrating into various other AWS systems.
Rule fields
Copied!
- AWS Region
- The region you chose for your AWS Lambda function.
- Function Name
- The name you gave your AWS Lambda function.
- AWS Authentication Scheme
- the authentication scheme you use for your function. Either
AWS Credentials
orARN of an assumable role
. See the Ably AWS authentication documentation. - Qualifier
- optional qualifier for your AWS Lambda function.
- Source
- Choose which of
channel.message
,channel.presence
,channel.lifecycle
, orchannel.occupancy
events on channels should activate this event rule. - Channel filter
- An optional filter on channel name, to restrict the channels the rule applies to. Use a regular expression to match multiple channels.
Restrictions
Copied!
At present, it is not possible to batch messages to AWS Lambda Functions, nor can messages be encoded in anything besides JSON.