Interface ISecondaryIndexProps
Properties for a secondary index.
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISecondaryIndexProps
Syntax (vb)
Public Interface 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 secondaryIndexProps = new SecondaryIndexProps {
IndexName = "indexName",
// the properties below are optional
NonKeyAttributes = new [] { "nonKeyAttributes" },
ProjectionType = ProjectionType.KEYS_ONLY
};
Synopsis
Properties
Index |
The name of the secondary index. |
Non |
The non-key attributes that are projected into the secondary index. |
Projection |
The set of attributes that are projected into the secondary index. |
Properties
IndexName
The name of the secondary index.
string IndexName { get; }
Property Value
System.
NonKeyAttributes
The non-key attributes that are projected into the secondary index.
virtual string[] NonKeyAttributes { get; }
Property Value
System.
Remarks
Default: - No additional attributes
ProjectionType
The set of attributes that are projected into the secondary index.
virtual Nullable<ProjectionType> ProjectionType { get; }
Property Value
System.
Remarks
Default: ALL