To use the Amazon DynamoDB connector, add the <amazondynamodb.init>
element in your configuration before carrying out any other operations. To authenticate, it uses the Signature Version 4 signing specification, which describes how to construct signed requests to AWS. Whenever you send a request to AWS, you must include authorization information with your request so that AWS can verify the authenticity of the request. AWS uses the authorization information from your request to recreate your signature and then compares that signature with the one that you sent. These two signatures must match for you to successfully access AWS. Click here for further reference on the signing process.
Code Block | ||||
---|---|---|---|---|
| ||||
<amazondynamodb.init> <region>{$ctx:region}</region> <secretAccessKey>{$ctx:secretAccessKey}</secretAccessKey> <returnConsumedCapacity>{$ctx:returnConsumedCapacity}</returnConsumedCapacity> <accessKeyId>{$ctx:accessKeyId}</accessKeyId> <version>{$ctx:version}</version> </amazondynamodb.init> |
Properties
region:
The region of the application access.secretAccessKey:
The secret access key.returnConsumedCapacity:
If set to TOTAL, the response includes ConsumedCapacity data for tables and indexes. If set to INDEXES, the response includes ConsumedCapacity for indexes. If set to NONE (the default), ConsumedCapacity is not included in the response.accessKeyId:
The accessKeyId of the user account to generate the signature.version:
The version of the API.
Additional information
Ensure that the following Axis2 configurations are added and enabled in the <ESB_HOME>\repository\conf\axis2\axis2.xml
file.
...