Class TableClass
DynamoDB's table class.
Inheritance
System.Object
TableClass
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class TableClass : Enum
Syntax (vb)
Public NotInheritable Class TableClass
Inherits
Enum
Remarks
See: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.TableClasses.html
ExampleMetadata: infused
Examples
var table = new TableV2(this, "Table", new TablePropsV2 {
PartitionKey = new Attribute { Name = "pk", Type = AttributeType.STRING },
ContributorInsights = true,
TableClass = TableClass.STANDARD_INFREQUENT_ACCESS,
PointInTimeRecovery = true
});
Synopsis
Fields
STANDARD | Default table class for DynamoDB. |
STANDARD_INFREQUENT_ACCESS | Table class for DynamoDB that reduces storage costs compared to existing DynamoDB standard tables. |
value__ |
Fields
STANDARD
Default table class for DynamoDB.
public const TableClass STANDARD
Field Value
Type | Description |
---|---|
TableClass |
STANDARD_INFREQUENT_ACCESS
Table class for DynamoDB that reduces storage costs compared to existing DynamoDB standard tables.
public const TableClass STANDARD_INFREQUENT_ACCESS
Field Value
Type | Description |
---|---|
TableClass |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |