Amazon DynamoDB
API Reference (API Version 2012-08-10)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.

AttributeValue

Description

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: Blob

Required: No

BOOL

A Boolean data type.

Type: Boolean

Required: No

BS

A Binary Set data type.

Type: array of Blobs

Required: No

L

A List of attribute values.

Type: array of AttributeValue objects

Required: No

M

A Map of attribute values.

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