Class: Aws::Keyspaces::Types::CdcSpecification

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#propagate_tagsString

Specifies that the stream inherits the tags from the table.

Returns:

  • (String)


314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb', line 314

class CdcSpecification < Struct.new(
  :status,
  :view_type,
  :tags,
  :propagate_tags)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the CDC stream. You can enable or disable a stream for a table.

Returns:

  • (String)


314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb', line 314

class CdcSpecification < Struct.new(
  :status,
  :view_type,
  :tags,
  :propagate_tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags (key-value pairs) that you want to apply to the stream.

Returns:



314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb', line 314

class CdcSpecification < Struct.new(
  :status,
  :view_type,
  :tags,
  :propagate_tags)
  SENSITIVE = []
  include Aws::Structure
end

#view_typeString

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.

Returns:

  • (String)


314
315
316
317
318
319
320
321
# File 'gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb', line 314

class CdcSpecification < Struct.new(
  :status,
  :view_type,
  :tags,
  :propagate_tags)
  SENSITIVE = []
  include Aws::Structure
end