Class TableOptionsV2
Options used to configure a DynamoDB table.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TableOptionsV2 : Object, ITableOptionsV2
Syntax (vb)
Public Class TableOptionsV2
Inherits Object
Implements ITableOptionsV2
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;
using Amazon.CDK.AWS.Kinesis;
Stream stream;
var tableOptionsV2 = new TableOptionsV2 {
ContributorInsights = false,
DeletionProtection = false,
KinesisStream = stream,
PointInTimeRecovery = false,
TableClass = TableClass.STANDARD,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
TableOptionsV2() |
Properties
ContributorInsights | Whether CloudWatch contributor insights is enabled. |
DeletionProtection | Whether deletion protection is enabled. |
KinesisStream | Kinesis Data Stream to capture item level changes. |
PointInTimeRecovery | Whether point-in-time recovery is enabled. |
TableClass | The table class. |
Tags | Tags to be applied to the table or replica table. |
Constructors
TableOptionsV2()
public TableOptionsV2()
Properties
ContributorInsights
Whether CloudWatch contributor insights is enabled.
public Nullable<bool> ContributorInsights { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
DeletionProtection
Whether deletion protection is enabled.
public Nullable<bool> DeletionProtection { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
KinesisStream
Kinesis Data Stream to capture item level changes.
public IStream KinesisStream { get; set; }
Property Value
Remarks
Default: - no Kinesis Data Stream
PointInTimeRecovery
Whether point-in-time recovery is enabled.
public Nullable<bool> PointInTimeRecovery { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
TableClass
The table class.
public Nullable<TableClass> TableClass { get; set; }
Property Value
System.Nullable<TableClass>
Remarks
Default: TableClass.STANDARD
Tags
Tags to be applied to the table or replica table.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Default: - no tags