Class CfnGlobalTablePropsMixin.StreamSpecificationProperty
Represents the DynamoDB Streams configuration for a table in DynamoDB .
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.DynamoDB.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnGlobalTablePropsMixin.StreamSpecificationProperty : CfnGlobalTablePropsMixin.IStreamSpecificationProperty
Syntax (vb)
Public Class CfnGlobalTablePropsMixin.StreamSpecificationProperty Implements CfnGlobalTablePropsMixin.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.Mixins.Preview.AWS.DynamoDB.Mixins;
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.Mixins.Preview.AWS.DynamoDB.Mixins;
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; }