Module: AWSCDK::DynamoDB::StreamViewType

Defined in:
dynamo_db/stream_view_type.rb

Overview

When an item in the table is modified, StreamViewType determines what information is written to the stream for this table.

Constant Summary collapse

NEW_IMAGE =
Deprecated.
Note:

Default:

The entire item, as it appears after it was modified, is written to the stream.

Jsii::Enum.new("aws-cdk-lib.aws_dynamodb.StreamViewType", "NEW_IMAGE")
OLD_IMAGE =
Deprecated.
Note:

Default:

The entire item, as it appeared before it was modified, is written to the stream.

Jsii::Enum.new("aws-cdk-lib.aws_dynamodb.StreamViewType", "OLD_IMAGE")
NEW_AND_OLD_IMAGES =
Deprecated.
Note:

Default:

Both the new and the old item images of the item are written to the stream.

Jsii::Enum.new("aws-cdk-lib.aws_dynamodb.StreamViewType", "NEW_AND_OLD_IMAGES")
KEYS_ONLY =
Deprecated.
Note:

Default:

Only the key attributes of the modified item are written to the stream.

Jsii::Enum.new("aws-cdk-lib.aws_dynamodb.StreamViewType", "KEYS_ONLY")