Interface TableOptionsV2
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ReplicaTableProps,TablePropsV2
- All Known Implementing Classes:
ReplicaTableProps.Jsii$Proxy,TableOptionsV2.Jsii$Proxy,TablePropsV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:06.581Z")
@Stability(Stable)
public interface TableOptionsV2
extends software.amazon.jsii.JsiiSerializable
Options used to configure a DynamoDB table.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dynamodb.*;
import software.amazon.awscdk.services.kinesis.*;
Stream stream;
TableOptionsV2 tableOptionsV2 = TableOptionsV2.builder()
.contributorInsights(false)
.deletionProtection(false)
.kinesisStream(stream)
.pointInTimeRecovery(false)
.tableClass(TableClass.STANDARD)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTableOptionsV2static final classAn implementation forTableOptionsV2 -
Method Summary
Modifier and TypeMethodDescriptionstatic TableOptionsV2.Builderbuilder()default BooleanWhether CloudWatch contributor insights is enabled.default BooleanWhether deletion protection is enabled.default IStreamKinesis Data Stream to capture item level changes.default BooleanWhether point-in-time recovery is enabled.default TableClassThe table class.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContributorInsights
Whether CloudWatch contributor insights is enabled.Default: false
-
getDeletionProtection
Whether deletion protection is enabled.Default: false
-
getKinesisStream
Kinesis Data Stream to capture item level changes.Default: - no Kinesis Data Stream
-
getPointInTimeRecovery
Whether point-in-time recovery is enabled.Default: false
-
getTableClass
The table class.Default: TableClass.STANDARD
-
builder
- Returns:
- a
TableOptionsV2.BuilderofTableOptionsV2
-