This script loads data from a PostreSQL JSON dump file into an Aurora PostgreSQL database using the RDS Data API.
Update the values in the COLUMN_TYPES
dictionary to match your schema. Map your column data types to the supported field types. You can cast a string to a custom type by appending :type
to the field type.
To run the script you need boto3 installed. Then run the script like so: