Menu
Amazon DynamoDB
API Reference

AttributeValue

Represents the data for an attribute. You can set one, and only one, of the elements.

Each attribute in an item is a name-value pair. An attribute can be single-valued or multi-valued set. For example, a book item can have title and authors attributes. Each book has one title but can have many authors. The multi-valued attribute is a set; duplicate values are not allowed.

Contents

Note

In the following list, the required parameters are described first.

B

A Binary data type.

Type: Base64-encoded binary data object

Required: No

BOOL

A Boolean data type.

Type: Boolean

Required: No

BS

A Binary Set data type.

Type: Array of Base64-encoded binary data objects

Required: No

L

A List data type.

Type: Array of AttributeValue objects

Required: No

M

A Map data type.

Type: String to AttributeValue object map

Required: No

N

A Number data type.

Type: String

Required: No

NS

A Number Set data type.

Type: Array of strings

Required: No

NULL

A Null data type.

Type: Boolean

Required: No

S

A String data type.

Type: String

Required: No

SS

A String Set data type.

Type: Array of strings

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: