AWS DynamoDB

Update item

Edit an existing item’s attributes, or add a new item to the table if it does not already exist.

Inputs

Field

Type

Description

region [required]

enum

default: us-east-1

tableName [required]

string

The name of the table containing the item to update.

key [required]

object

A map of attribute names to AttributeValue objects, representing the primary key of the item.

updateExpression [required]

string

An expression that defines one or more attributes to be updated, the action to be performed on them, and new values for them. See AWS documentation for details.

updateValues [required]

object

One or more values that can be substituted in an expression.

Outputs

Field

Type

Description

item [required]

object