# tDynamoDBConfiguration properties for Apache Spark Batch

These properties are used to configure tDynamoDBConfiguration running in the Spark Batch Job framework.

The Spark Batch tDynamoDBConfiguration component belongs to the Storage and the Databases families.

The component in this framework is available in all subscription-based Talend products with Big Data and Talend Data Fabric.

This component is not supported with Spark 4.0.x.

## Basic settings

| Properties | Description |
| --- | --- |
| Inherit credentials from AWS<br>role | Select this checkbox to leverage the instance profile credentials. These<br>credentials can be used on Amazon EC2 instances, and are delivered through the<br>Amazon EC2 metadata service. To use this option, your Job must be running within<br>Amazon EC2 or other services that can leverage IAM Roles for access to resources.<br>For more information, see [Using an IAM Role to Grant Permissions to<br>Applications Running on Amazon EC2 Instances](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html). |
| Access key | Enter the access<br>key ID that uniquely identifies an AWS Account. For further information about how to<br>get your Access Key and Secret Key, see [Getting Your AWS Access<br>Keys](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/get-aws-keys.html).<br><br>Information noteNote: This option is available when Use an existing<br>connection and Inherit credentials from AWS<br>role are cleared. |
| Secret key | Enter the secret access key,<br>constituting the security credentials in combination with the access Key.<br><br>To enter the secret key, click the [...]<br>button next to the secret key field, and then in the pop-up dialog box enter the password<br>between double quotes and click OK to save the<br>settings.<br><br>Information noteNote: This option is available when Use an existing<br>connection and Inherit credentials from AWS<br>role are cleared. |
| Region | Specify the AWS region by selecting a region name from the list. For more information<br>about the AWS Region, see [Regions<br>and Endpoints](http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). |
| Use End Point | Select this check box and in the field displayed, specify the Web service URL of the<br>DynamoDB database service. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component is used with no need to be connected to other<br>components.<br><br>The configuration in a tDynamoDBConfiguration component<br>applies only on the DynamoDB related components in the same Job. In other words, the<br>DynamoDB components used in a child or a parent Job that is called via tRunJob cannot reuse this configuration.<br><br>This component, along with the Spark Batch component Palette it belongs to,<br>appears only when you are creating a Spark Batch Job.<br><br>Note that in this documentation, unless otherwise explicitly stated, a<br>scenario presents only Standard Jobs, that is to<br>say traditional<br>Talend<br>data integration Jobs. |