Skip to main content
Version: 1.0 prerelease

SNSNotificationAction

class great_expectations.checkpoint.SNSNotificationAction(*, type: Literal['sns'] = 'sns', name: str, notify_on: Literal['all', 'failure', 'success'] = 'all', sns_topic_arn: str, sns_message_subject: Optional[str] = None)#

Action that pushes validations results to an SNS topic with a subject of passed or failed.

YAML configuration example:

    - name: send_sns_notification_on_validation_result
action:
class_name: SNSNotificationAction
# put the actual SNS Arn in the uncommitted/config_variables.yml file
# or pass in as environment variable
sns_topic_arn:
sns_subject:

Parameters:
  • sns_topic_arn – The SNS Arn to publish messages to.

  • sns_subject – Optional. The SNS Message Subject - defaults to expectation_suite_identifier.name.