SendNotification
less than a minute
Defines an automation action that sends a (Slack) notification.
Attributes:
- action_type (Literal): The kind of action to be triggered.
- message (str): The message body of the sent notification.
- severity (AlertSeverity): The severity (
INFO
,WARN
,ERROR
) of the sent notification. - title (str): The title of the sent notification.
method from_integration
from_integration(cls, integration: 'SlackIntegration', *, title: 'str' = '', text: 'str' = '', level: 'AlertSeverity' = <AlertSeverity.INFO: 'INFO'>) -> 'Self'
Define a notification action that sends to the given (Slack) integration.
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.