Interface ILocalSecondaryIndexProps
Properties for a local secondary index.
Inherited Members
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.AWS.DynamoDB.dll
Syntax (csharp)
public interface ILocalSecondaryIndexProps : ISecondaryIndexProps
Syntax (vb)
Public Interface ILocalSecondaryIndexProps
Inherits ISecondaryIndexProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;
var localSecondaryIndexProps = new LocalSecondaryIndexProps {
IndexName = "indexName",
SortKey = new Attribute {
Name = "name",
Type = AttributeType.BINARY
},
// the properties below are optional
NonKeyAttributes = new [] { "nonKeyAttributes" },
ProjectionType = ProjectionType.KEYS_ONLY
};
Synopsis
Properties
SortKey | The attribute of a sort key for the local secondary index. |
Properties
SortKey
The attribute of a sort key for the local secondary index.
IAttribute SortKey { get; }
Property Value