RdsCreateEventSubscriptionOperator
AmazonCreates an RDS event notification subscription
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
subscription_nameRequiredThe name of the subscription (must be less than 255 characters)
sns_topic_arnRequiredThe ARN of the SNS topic created for event notification
source_typeThe type of source that is generating the events. Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy
event_categoriesA list of event categories for a source type that you want to subscribe to USER Events
source_idsThe list of identifiers of the event sources for which events are returned
enabledA value that indicates whether to activate the subscription (default True)l
tagsA dictionary of tags or a list of tags in format [{“Key”: “…”, “Value”: “…”},] USER Tagging
wait_for_completionIf True, waits for creation of the subscription to complete. (default: True)
Documentation
Creates an RDS event notification subscription
See also
For more information on how to use this operator, take a look at the guide: Subscribe to an Amazon RDS event notification