Class CfnGlobalTable.StreamSpecificationProperty
Represents the DynamoDB Streams configuration for a table in DynamoDB .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGlobalTable.StreamSpecificationProperty : CfnGlobalTable.IStreamSpecificationProperty
Syntax (vb)
Public Class CfnGlobalTable.StreamSpecificationProperty Implements CfnGlobalTable.IStreamSpecificationProperty
Remarks
You can only modify this value for a AWS::DynamoDB::GlobalTable
resource configured for multi-Region eventual consistency (MREC, the default) if that resource contains only one entry in Replicas
. You must specify a value for this property for a AWS::DynamoDB::GlobalTable
resource configured for MREC with more than one entry in Replicas
. For Multi-Region Strong Consistency (MRSC), Streams are not required and can be changed for existing tables.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;
var streamSpecificationProperty = new StreamSpecificationProperty {
StreamViewType = "streamViewType"
};
Synopsis
Constructors
StreamSpecificationProperty() | Represents the DynamoDB Streams configuration for a table in DynamoDB . |
Properties
StreamViewType | When an item in the table is modified, |
Constructors
StreamSpecificationProperty()
Represents the DynamoDB Streams configuration for a table in DynamoDB .
public StreamSpecificationProperty()
Remarks
You can only modify this value for a AWS::DynamoDB::GlobalTable
resource configured for multi-Region eventual consistency (MREC, the default) if that resource contains only one entry in Replicas
. You must specify a value for this property for a AWS::DynamoDB::GlobalTable
resource configured for MREC with more than one entry in Replicas
. For Multi-Region Strong Consistency (MRSC), Streams are not required and can be changed for existing tables.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;
var streamSpecificationProperty = new StreamSpecificationProperty {
StreamViewType = "streamViewType"
};
Properties
StreamViewType
When an item in the table is modified, StreamViewType
determines what information is written to the stream for this table.
public string StreamViewType { get; set; }