RdsCreateEventSubscriptionOperator

Amazon

Creates an RDS event notification subscription

View on GitHub

Last Updated: Jan. 31, 2023

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

Was this page helpful?