CdcSpecification
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.
Contents
- status
-
The status of the CDC stream. You can enable or disable a stream for a table.
Type: String
Valid Values:
ENABLED | ENABLING | DISABLED | DISABLING
Required: Yes
- propagateTags
-
Specifies that the stream inherits the tags from the table.
Type: String
Valid Values:
TABLE | NONE
Required: No
-
The tags (key-value pairs) that you want to apply to the stream.
Type: Array of Tag objects
Array Members: Minimum number of 1 item. Maximum number of 60 items.
Required: No
- viewType
-
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.
Type: String
Valid Values:
NEW_IMAGE | OLD_IMAGE | KEYS_ONLY | NEW_AND_OLD_IMAGES
Required: No
-
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: