TableStreamSpecification

data class TableStreamSpecification(val resourcePolicy: TableResourcePolicy? = null, val streamViewType: String)

Represents the DynamoDB Streams configuration for a table in DynamoDB.

Constructors

Link copied to clipboard
constructor(resourcePolicy: TableResourcePolicy? = null, streamViewType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Creates or updates a resource-based policy document that contains the permissions for DDB resources, such as a table's streams. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource. In a CFNshort template, you can provide the policy in JSON or YAML format because CFNshort converts YAML to JSON before submitting it to DDB. For more information about resource-based policies, see Using resource-based policies for and Resource-based policy examples.

Link copied to clipboard

When an item in the table is modified, `StreamViewType` determines what information is written to the stream for this table. Valid values for `StreamViewType` are: