workflow:
  id: cloudwatch-slack-notifier
  name: CloudWatch Slack Notifier
  description: Forwards AWS CloudWatch alarms to Slack channels with customized alert messages.
  triggers:
    - type: alert
      filters:
        - key: source
          value: cloudwatch
    - type: manual
  actions:
    - name: trigger-slack
      provider:
        type: slack
        config: " {{ providers.slack-prod }} "
        with:
          message: "Got alarm from aws cloudwatch! {{ alert.name }}"
