Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Creating a MongoDB target node

Focus mode
Creating a MongoDB target node - AWS Glue

Prerequisites needed

  • A AWS Glue MongoDB connection, configured with an AWS Secrets Manager secret, as described in the previous section, Creating a MongoDB connection.

  • Appropriate permissions on your job to read the secret used by the connection.

  • A MongoDB table you would like to write to, tableName.

Adding a MongoDB data target

To add a Data target – MongoDB node:
  1. Choose the connection for your MongoDB data source. Since you have created it, it should be available in the dropdown. If you need to create a connection, choose Create MongoDB connection. For more information see the previous section, Creating a MongoDB connection.

    Once you have chosen a connection, you can view the connection properties by clicking View properties.

  2. Choose a Database. Enter mongodbName.

  3. Choose a Collection. Enter mongodbCollection.

  4. Choose your Partitioner, Partition size (MB) and Partition key. For more information about partition parameters, see "connectionType": "mongodb" as source.

  5. Choose Retry Writes if desired.

  6. In Custom MongoDB properties, enter parameters and values as needed.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.