RdsCreateDbInstanceOperator

Amazon

Creates an RDS DB instance

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

db_instance_identifierRequiredThe DB instance identifier, must start with a letter and contain from 1 to 63 letters, numbers, or hyphens
db_instance_classRequiredThe compute and memory capacity of the DB instance, for example db.m5.large
engineRequiredThe name of the database engine to be used for this instance
rds_kwargsNamed arguments to pass to boto3 RDS client function create_db_instance https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/rds.html#RDS.Client.create_db_instance
aws_conn_idThe Airflow connection used for AWS credentials.
wait_for_completionIf True, waits for creation of the DB instance to complete. (default: True)

Documentation

Creates an RDS DB instance

See also

For more information on how to use this operator, take a look at the guide: Create a database instance

Was this page helpful?