/AWS1/CL_KYSCDCSPECIFICATION¶
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.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_status
TYPE /AWS1/KYSCDCSTATUS
/AWS1/KYSCDCSTATUS
¶
The status of the CDC stream. You can enable or disable a stream for a table.
Optional arguments:¶
iv_viewtype
TYPE /AWS1/KYSVIEWTYPE
/AWS1/KYSVIEWTYPE
¶
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.
it_tags
TYPE /AWS1/CL_KYSTAG=>TT_TAGLIST
TT_TAGLIST
¶
The tags (key-value pairs) that you want to apply to the stream.
iv_propagatetags
TYPE /AWS1/KYSCDCPROPAGATETAGS
/AWS1/KYSCDCPROPAGATETAGS
¶
Specifies that the stream inherits the tags from the table.
Queryable Attributes¶
status¶
The status of the CDC stream. You can enable or disable a stream for a table.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_VIEWTYPE() |
Getter for VIEWTYPE, with configurable default |
ASK_VIEWTYPE() |
Getter for VIEWTYPE w/ exceptions if field has no value |
HAS_VIEWTYPE() |
Determine if VIEWTYPE has a value |
tags¶
The tags (key-value pairs) that you want to apply to the stream.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TAGS() |
Getter for TAGS, with configurable default |
ASK_TAGS() |
Getter for TAGS w/ exceptions if field has no value |
HAS_TAGS() |
Determine if TAGS has a value |
propagateTags¶
Specifies that the stream inherits the tags from the table.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PROPAGATETAGS() |
Getter for PROPAGATETAGS, with configurable default |
ASK_PROPAGATETAGS() |
Getter for PROPAGATETAGS w/ exceptions if field has no value |
HAS_PROPAGATETAGS() |
Determine if PROPAGATETAGS has a value |