Amazon DynamoDB policy

An Amazon DynamoDB policy contains the connection details that are used by an Amazon DynamoDB Request node when it connects to an Amazon DynamoDB application.

You can use anAmazon DynamoDB Request node in a message flow to connect IBM® App Connect Enterprise to Amazon DynamoDB applications and issue requests to perform actions on objects such as backups, items, regions, tables, and tags. The Amazon DynamoDB policy controls, at run time, the access to the Amazon DynamoDB application.

The Amazon DynamoDB policy is created when you configure a connection between an Amazon DynamoDB Request node and Amazon DynamoDB by using the Connector Discovery wizard. During the process of discovery, account credentials are stored in the vault and connection details are stored in an Amazon DynamoDB policy. The policy is created with a type of Amazon DynamoDB, and the name of the policy is returned to the Amazon DynamoDB Request node and specified in the Connection tab of the node, in the format {policyProjectName}:policyName.

You can also create, update, or delete an Amazon DynamoDB policy by using the Manage Discovery Connector Policies and Credentials wizard, which you can access by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking New > Discovery Connector policies and credentials.

You must deploy this policy before message flows that use the policy are started. If you redeploy an Amazon DynamoDB policy, all message flows that are using the policy are stopped and restarted.

For more information about using Amazon DynamoDB policies, see Using Amazon DynamoDB with IBM App Connect Enterprise.

Table 1. Properties of the Amazon DynamoDB policy.
Property Property name in .policyxml file Description of properties
Amazon DynamoDB Application Type applicationType This property is reserved for future use and must be set to the value online.
Amazon DynamoDB Application Version applicationVersion This property is reserved for future use and must be set to the value v1.
Amazon DynamoDB Authentication method authenticationMethod This property is reserved for future use and must be set to the value BASIC.
Region region This property specifies the region of the Amazon DynamoDB instance (if any) that you specified in the Region property during connector discovery.
Credential Name credentialName This property specifies the name of the credential that is used for the connection to Amazon DynamoDB.

The specified credential can be defined during connector discovery and stored in the vault. Alternatively, you can specify an existing credential that was configured by using the mqsicredentials command or the server.conf.yaml file, or loaded through an external credential provider.