In this section we will review the Workflow components.
keep run, the CLI run the alert regardless of the triggers.
# run manually triggers: - type: manual
# run every time alert from cloudwatch triggered triggers: - type: alert filters: - key: source value: cloudwatch
# run every 10 seconds triggers: - type: interval value: 10
Steps are optional and define a sequence of actions that fetch or compute data. They are used to add data to the workflow, which can be used in other steps or actions.
An action defines what to do when a workflow is triggered. Actions usually rely on providers for executing specific tasks, like sending a Slack message.
A condition sets the rules under which an action should be performed. For example, you can set a condition to only trigger an action if certain criteria are met.