AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents the data for an attribute.
Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.
For more information, see Data Types in the Amazon DynamoDB Developer Guide.
Namespace: Amazon.DynamoDBv2.Model
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public class AttributeValue
The AttributeValue type exposes the following members
Name | Description | |
---|---|---|
![]() |
AttributeValue() |
Empty constructor used to set properties independently even when a simple constructor is available |
![]() |
AttributeValue(string) |
Instantiates AttributeValue with the parameterized properties |
![]() |
AttributeValue(List<String>) |
Instantiates AttributeValue with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
![]() |
B | System.IO.MemoryStream |
Gets and sets the property B. An attribute of type Binary. For example:
|
![]() |
BOOL | System.Nullable<System.Boolean> |
Gets and sets the property BOOL. An attribute of type Boolean. For example:
|
![]() |
BS | System.Collections.Generic.List<System.IO.MemoryStream> |
Gets and sets the property BS. An attribute of type Binary Set. For example:
|
![]() |
IsBOOLSet | System.Boolean |
This property is set to true if the property
If this property is set to false the property |
![]() |
IsBSSet | System.Boolean |
This property is set to true if the property
If this property is set to false the property |
![]() |
IsLSet | System.Boolean |
This property is set to true if the property
If this property is set to false the property |
![]() |
IsMSet | System.Boolean |
This property is set to true if the property
If this property is set to false the property |
![]() |
IsNSSet | System.Boolean |
This property is set to true if the property
If this property is set to false the property |
![]() |
IsSSSet | System.Boolean |
This property is set to true if the property
If this property is set to false the property |
![]() |
L | System.Collections.Generic.List<Amazon.DynamoDBv2.Model.AttributeValue> |
Gets and sets the property L. An attribute of type List. For example:
|
![]() |
M | System.Collections.Generic.Dictionary<System.String, Amazon.DynamoDBv2.Model.AttributeValue> |
Gets and sets the property M. An attribute of type Map. For example:
|
![]() |
N | System.String |
Gets and sets the property N. An attribute of type Number. For example:
Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations. |
![]() |
NS | System.Collections.Generic.List<System.String> |
Gets and sets the property NS. An attribute of type Number Set. For example:
Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
NULL | System.Nullable<System.Boolean> |
Gets and sets the property NULL. An attribute of type Null. For example:
|
![]() |
S | System.String |
Gets and sets the property S. An attribute of type String. For example:
|
![]() |
SS | System.Collections.Generic.List<System.String> |
Gets and sets the property SS. An attribute of type String Set. For example:
|
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer