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.
DynamoDB property that marks up current member as a hash key element. Exactly one member in a class must be marked with this attribute. Members that are marked as hash key must be convertible to a Primitive object.
public class DynamoDBHashKeyAttribute : DynamoDBPropertyAttribute _Attribute
The DynamoDBHashKeyAttribute type exposes the following members
Constructor that specifies an alternate attribute name
Constructor that specifies a custom converter. Converter must be the type of a class that implements IPropertyConverter.
Constructor that specifies an alternate attribute name and a custom converter. Converter must be the type of a class that implements IPropertyConverter.
|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.|
|TypeId||System.Object||Inherited from System.Attribute.|
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone