ReactionCloudTopicEvent Object
An Event to send a notification to a cloud topic. This mechanism supports sending notifications to the following providers:
- AWS SNS
- Google Cloud Pub/Sub Youo must have a cloud credential set up in the organization to use this, and the credential must have the appropriate permissions to send messages to the specified topic.
Fields
#
cloudTopicId
String !
Non-null
The ID of the cloud topic to send the notification to. This could be something like an AWS ARN or a GCP topic ID. The format of this ID is dependent on the cloud provider.
transformer
This is a script that can run before sending the notification. It can be used to customise the payload to the receiver's requirements. If this is not present, a minimal payload will be set with an identifier of which Reaction triggered the notification, and why.
Usages
#
References
#
- Part of union ReactionEventParams
Previous
ReactionAgentEvent