メインコンテンツへスキップ

class SendNotification

(Slack) 通知を送信する自動化アクションを定義します。

method SendNotification.__init__

引数:
  • integration_id (str): 通知の送信に使用する Slack インテグレーションの ID。
  • message (str): 送信する通知の本文。
  • severity (AlertSeverity): 送信する通知の重要度 (INFOWARNERROR) 。
  • title (str): 送信する通知のタイトル。
  • action_type (Literal[NOTIFICATION]):
戻り値: SendNotification オブジェクト。

クラスメソッド SendNotification.from_integration

指定された (Slack) インテグレーションに通知を送信するアクションを定義します。