Magidoc

CloudTopicReactionEventInput
Input Object

Input type 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

#

cloudCredentialId

ID !
Non-null

The ID of the cloud credential to use to send the notification.

cloudTopicId

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.