AWS DynamoDB Element

The AWS DynamoDB element is used to provide an Atmosphere project the ability to access and manipulate AWS DynamoDB tables.

The AWS DynamoDB element is located in the Element Toolbox within Studio’s Cloud tab.

Using AWS elements requires the prerequisite configuration of AWS products and an AWS IAM role. To learn more about integrating AWS products into your Atmosphere projects, visit Amazon Web Services Integration.

Properties

The following properties can be changed for the AWS DynamoDB element:

Name

The name of the element.

Region

The AWS region where the DynamoDB table is located.

Role ARN

The designated IAM role used to allow Atmosphere to access AWS DynamoDB resources.

External ID

The external identifier within the IAM role used to allow role access.

Table Name

The name of the DynamoDB table.

Triggers

The following triggers are available to execute events from within the AWS DynamoDB element:

Triggered

Execute an event when the source element connected to the AWS DynamoDB triggers.

Received

Execute an event when an item is returned from the DynamoDB table.

Sent

Execute an event when an item is sent to the DynamoDB table.

Updated

Execute an event when an item is updated in the DynamoDB table.

Deleted

Execute an event when an item is deleted from the DynamoDB table.

Abilities

The following abilities are available for the AWS DynamoDB element when its source element triggers:

Trigger

Trigger the element(s) that follow the AWS DynamoDB element.

Get Item

Return an item from the DynamoDB table.

Get Item Arguments:
Name Type Description
Key String Primary or indexed key used to access items in the table.

Send Item

Send an item to the DynamoDB table.

Send Item Arguments:
Name Type Description
Item JavaScript Object Object that represents the item to be placed in the table.

Update Item

Update an item in the DynamoDB table.

Update Item Arguments:
Name Type Description
Key String Primary or indexed key used to access items in the table.
Update Expression String Specifies how UpdateItem modifies the attributes of an item.
Expression Attribute Values String Placeholder value used for comparing values. Visit AWS Expression Attribute Values for more information.

Delete Item

Delete an item from the DynamoDB table.

Delete Item Arguments:
Name Type Description
Key String Primary or indexed key used to access items in the table.
Condition Expression String Determines which items should be modified. If the expression evaluates to true the operation succeeds; otherwise, the operation fails.
Expression Attribute Values String Placeholder value used for comparing values. Visit AWS Expression Attribute Values for more information.