Class DynamoDBLocalSecondaryIndexRangeKeyAttribute
- Namespace
- Amazon.DynamoDBv2.DataModel
- Assembly
- AWSSDK.DynamoDBv2.dll
DynamoDB property that marks up current member as range key element for a Local Secondary Index on a table.
Members that are marked as a Local Secondary Index range key element must be convertible to a Primitive object.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public sealed class DynamoDBLocalSecondaryIndexRangeKeyAttribute : DynamoDBPropertyAttribute
- Inheritance
-
DynamoDBLocalSecondaryIndexRangeKeyAttribute
- Inherited Members
Constructors
DynamoDBLocalSecondaryIndexRangeKeyAttribute(string)
Constructor that accepts a single inde name.
public DynamoDBLocalSecondaryIndexRangeKeyAttribute(string indexName)
Parameters
indexName
stringName of the Local Secondary Index this range key belongs to.
DynamoDBLocalSecondaryIndexRangeKeyAttribute(params string[])
Constructor that accepts multiple index names.
public DynamoDBLocalSecondaryIndexRangeKeyAttribute(params string[] indexNames)
Parameters
indexNames
string[]Names of the Local Secondary Indexes this range key belongs to.
Properties
IndexNames
Index associated with this range key
public string[] IndexNames { get; set; }
Property Value
- string[]