Interface CfnTable.CdcSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.CdcSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.CdcSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
The settings for the CDC stream of a table.
For more information about CDC streams, see Working with change data capture (CDC) streams in Amazon Keyspaces in the Amazon Keyspaces Developer Guide .
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.cassandra.*; CdcSpecificationProperty cdcSpecificationProperty = CdcSpecificationProperty.builder() .status("status") // the properties below are optional .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .viewType("viewType") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTable.CdcSpecificationProperty
static final class
An implementation forCfnTable.CdcSpecificationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStatus
The status of the CDC stream.You can enable or disable a stream for a table.
- See Also:
-
getTags
The tags (key-value pairs) that you want to apply to the stream.- See Also:
-
getViewType
The view type specifies the changes Amazon Keyspaces records for each changed row in the stream.After you create the stream, you can't make changes to this selection.
The options are:
NEW_AND_OLD_IMAGES
- both versions of the row, before and after the change. This is the default.NEW_IMAGE
- the version of the row after the change.OLD_IMAGE
- the version of the row before the change.KEYS_ONLY
- the partition and clustering keys of the row that was changed.
Default: - "NEW_AND_OLD_IMAGES"
- See Also:
-
builder
-