Show / Hide Table of Contents

Class CfnGlobalTable.ProjectionProperty

Represents attributes that are copied (projected) from the table into an index.

Inheritance
object
CfnGlobalTable.ProjectionProperty
Implements
CfnGlobalTable.IProjectionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGlobalTable.ProjectionProperty : CfnGlobalTable.IProjectionProperty
Syntax (vb)
Public Class CfnGlobalTable.ProjectionProperty Implements CfnGlobalTable.IProjectionProperty
Remarks

These are in addition to the primary key attributes and index key attributes, which are automatically projected.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html

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

ProjectionProperty()

Represents attributes that are copied (projected) from the table into an index.

Properties

NonKeyAttributes

Represents the non-key attribute names which will be projected into the index.

ProjectionType

The set of attributes that are projected into the index:.

Constructors

ProjectionProperty()

Represents attributes that are copied (projected) from the table into an index.

public ProjectionProperty()
Remarks

These are in addition to the primary key attributes and index key attributes, which are automatically projected.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html

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"
             };

Properties

NonKeyAttributes

Represents the non-key attribute names which will be projected into the index.

public string[]? NonKeyAttributes { get; set; }
Property Value

string[]

Remarks

For global and local secondary indexes, the total count of NonKeyAttributes summed across all of the 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. This limit only applies when you specify the ProjectionType of INCLUDE . You still can specify the ProjectionType of ALL to project all attributes from the source table, even if the table has more than 100 attributes.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html#cfn-dynamodb-globaltable-projection-nonkeyattributes

ProjectionType

The set of attributes that are projected into the index:.

public string? ProjectionType { get; set; }
Property Value

string

Remarks

    When using the DynamoDB console, ALL is selected by default.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html#cfn-dynamodb-globaltable-projection-projectiontype

    Implements

    CfnGlobalTable.IProjectionProperty
    Back to top Generated by DocFX