If you customize your data line through the Import / Export DynamoDB Console button, you will have to create a separate pipeline for each table. If you directly use the Data Pipeline (either through the Data Pipeline API or through the Data Pipeline console), you can export multiple tables to the same pipeline. For each table, simply add an additional DynamoDBDataNode and EmrActivity to associate this Data Node with the output S3DataNode.
As for your use case for the year_month prefix, using the sdk protocol to change table names periodically seems like the best approach. Another approach might be to make a copy of the script for which EmrActivity is exported (you can see the location of the script in the activity "step" section), and instead change the way the script bush determines the table name by checking the current date. You will need to make a copy of this script and place the modified script in your own S3 bucket and specify the EmrActivity value for this location, not the default. I have not tried any approach before, but both are theoretically possible.
More general information on exporting DynamoDB tables can be found in the DynamoDB Developer's Guide , and more information can be found in the AWS Data Pipeline Developer's Guide .
source share