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.
Specifies the update behavior for a property when performing DynamoDB update operations. This attribute can be used to control whether a property is always updated or only set when the item is created (if the attribute does not exist).
Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public sealed class DynamoDbUpdateBehaviorAttribute : DynamoDBPropertyAttribute
The DynamoDbUpdateBehaviorAttribute type exposes the following members
| Name | Description | |
|---|---|---|
|
DynamoDbUpdateBehaviorAttribute() |
Default constructor. Sets behavior to Always. |
|
DynamoDbUpdateBehaviorAttribute(UpdateBehavior) |
Constructor that specifies the update behavior. |
|
DynamoDbUpdateBehaviorAttribute(string, UpdateBehavior) |
Constructor that specifies an alternate attribute name and update behavior. |
| Name | Type | Description | |
|---|---|---|---|
|
AttributeName | System.String | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBRenamableAttribute. |
|
Behavior | Amazon.DynamoDBv2.DataModel.UpdateBehavior |
Gets the update behavior for the property. |
|
Converter | System.Type | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBPropertyAttribute. |
|
StoreAsEpoch | System.Boolean | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBPropertyAttribute. |
|
StoreAsEpochLong | System.Boolean | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBPropertyAttribute. |
|
TypeId | System.Object | Inherited from System.Attribute. |
.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