Amazon DynamoDB V2 Connector > Mappings for Amazon DynamoDB V2 > Amazon DynamoDB V2 targets in mappings
  

Amazon DynamoDB V2 targets in mappings

To write data to an Amazon DynamoDB table, configure an Amazon DynamoDB object as the Target transformation in a mapping in advanced mode.
Specify the name and description of the Amazon DynamoDB V2 target. Configure the target properties for the target object. You can also parameterize the Amazon DynamoDB V2 target object with values specified in a parameter file when you configure a mapping in advanced mode.
The following table describes the target properties that you can configure in a Target transformation:
Property
Description
Connection
Name of the target connection.
You can select an existing connection or create a new connection. You can also select New Parameter to define a parameter for the target connection.
To overwrite the target connection properties at runtime, select the Allow parameter to be overridden at run time option.
Target Type
Target type.
Select Single Object or Parameter.
Object
Name of the target object.
You can select an existing object or create a new target at runtime.
When you select an existing target object, the schema is inferred from the incoming fields to the target transformation.
When you create a new target at run time and the target already exists, the mapping appends the data to the existing target.
Operation
Target operation. You can only select the insert operation.
The following table describes the target properties that you can configure for a target object
Property
Description
Object Name
The DynamoDB table name.
Hash Key Name
The name of the hash key of the table.
Hash Key Type
The type of the hash key of the table.
Select from the following values:
  • - Binary
  • - Number
  • - String
Range Key Name
Optional. Name of the range key of the table.
Range Key Type
Optional. Type of the range key of the table.
Select from the following values:
  • - Binary
  • - Number
  • - String
Billing Mode
The type of billing mode.
Select OnDemand or Provisioned.
Provisioned Read Capacity Units
The number of read capacity units of the table.
Required when you select the Provisioned billing mode.
Provisioned Write Capacity Units
The number of write capacity units of the table.
Required when you select the Provisioned billing mode.
AWS Tags
The labels to identify DynamoDB target tables.
The AWS tags are key-value pairs. You can specify zero or more tags when you create a new target table.
Specify the AWS tags in the following JSON format:
{"tag1":"value1", "tag2":"value2"}
Specify a maximum of 255 characters for the AWS tags.
Path
Not applicable.
The following table describes the Amazon DynamoDB V2 advanced target property that you can configure in a Target transformation:
Property
Description
Refresh duration for Assume Role Session
Generates a new set of credentials for the assume role after the specified duration and refreshes the assume role session after fixed intervals.
You can configure Refresh duration for Assume Role Session when you configure assume role in the connection properties.
The default value is 900 seconds. The maximum value is 12 hours depending upon the maximum session duration that you set for the role.