Class CfnGlobalTable.ProjectionProperty
Represents attributes that are copied (projected) from the table into an index.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ProjectionProperty : Object, CfnGlobalTable.IProjectionProperty
Syntax (vb)
Public Class ProjectionProperty
Inherits Object
Implements CfnGlobalTable.IProjectionProperty
Remarks
These are in addition to the primary key attributes and index key attributes, which are automatically projected.
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 projectionProperty = new ProjectionProperty {
NonKeyAttributes = new [] { "nonKeyAttributes" },
ProjectionType = "projectionType"
};
Synopsis
Constructors
Projection |
Properties
Non |
Represents the non-key attribute names which will be projected into the index. |
Projection |
The set of attributes that are projected into the index:. |
Constructors
ProjectionProperty()
public ProjectionProperty()
Properties
NonKeyAttributes
Represents the non-key attribute names which will be projected into the index.
public string[] NonKeyAttributes { get; set; }
Property Value
System.
Remarks
For local secondary indexes, the total count of NonKeyAttributes
summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
ProjectionType
The set of attributes that are projected into the index:.
public string ProjectionType { get; set; }
Property Value
System.
Remarks
When using the DynamoDB console, ALL
is selected by default.