Method: Aws::DynamoDB::Types::CreateTableInput#stream_specification

Defined in:
lib/aws-sdk-dynamodb/types.rb

#stream_specificationTypes::StreamSpecification

The settings for DynamoDB Streams on the table. These settings consist of:

  • StreamEnabled - Indicates whether DynamoDB Streams is to be enabled (true) or disabled (false).

  • StreamViewType - When an item in the table is modified, StreamViewType determines what information is written to the table’s stream. Valid values for StreamViewType are:

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

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

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

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



2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
# File 'lib/aws-sdk-dynamodb/types.rb', line 2156

class CreateTableInput < Struct.new(
  :attribute_definitions,
  :table_name,
  :key_schema,
  :local_secondary_indexes,
  :global_secondary_indexes,
  :billing_mode,
  :provisioned_throughput,
  :stream_specification,
  :sse_specification,
  :tags,
  :table_class,
  :deletion_protection_enabled,
  :warm_throughput,
  :resource_policy,
  :on_demand_throughput,
  :global_table_source_arn,
  :global_table_settings_replication_mode)
  SENSITIVE = []
  include Aws::Structure
end