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 that the decorated property or field should have its value automatically set to the current timestamp during persistence operations.
Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public sealed class DynamoDBAutoGeneratedTimestampAttribute : DynamoDBPropertyAttribute
The DynamoDBAutoGeneratedTimestampAttribute type exposes the following members
| Name | Description | |
|---|---|---|
|   | DynamoDBAutoGeneratedTimestampAttribute() | Default constructor. Timestamp is set on both create and update. | 
|   | DynamoDBAutoGeneratedTimestampAttribute(string) | Constructor that specifies an alternate attribute name. | 
|   | DynamoDBAutoGeneratedTimestampAttribute(Type) | Constructor that specifies a custom converter. | 
|   | DynamoDBAutoGeneratedTimestampAttribute(string, Type) | Constructor that specifies an alternate attribute name and a custom converter. | 
| Name | Type | Description | |
|---|---|---|---|
|   | AttributeName | System.String | Inherited from Amazon.DynamoDBv2.DataModel.DynamoDBRenamableAttribute. | 
|   | 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