SnsPublishOperator

Amazon

Publish a message to Amazon SNS.

View on GitHub

Last Updated: Jul. 19, 2021

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

aws_conn_idstraws connection to use
target_arnRequiredstreither a TopicArn or an EndpointArn
messageRequiredstrthe default message you want to send (templated)
subjectstrthe message subject you want to send (templated)
message_attributesdictthe message attributes you want to send as a flat dict (data type will be determined automatically)

Documentation

Publish a message to Amazon SNS.

Was this page helpful?