Triggers in Yandex API Gateway Overview
Written by
Updated at August 12, 2024
A trigger is a condition that, when met, causes a message to be automatically sent to WebSocket connections. Triggers let you automate your work with other Yandex Cloud services, such as Yandex Object Storage, Yandex Message Queue, and Yandex Container Registry.
Note
The trigger is initiated within 5 minutes of being created.
The following types of triggers are available in Yandex API Gateway:
- Timer
- Trigger for Message Queue
- Trigger for Object Storage
- Trigger for Container Registry
- Trigger for Cloud Logging
- Trigger for Yandex IoT Core
- Trigger for budgets
- Trigger for Data Streams
- Email trigger
Things to consider about trigger messages
Triggers send messages based on preset quotas and limits.
Things to consider about trigger messages:
- The trigger reformats messages before sending them to WebSocket connections. Each trigger type uses a message format of its own. Read more about this in the trigger description.
- If sending fails or the path specified in the trigger settings has no clients connected, the message gets lost and resending is not possible.