Interface IDynamoDBSourceParameters
(experimental) Parameters for the DynamoDB source.
Inherited Members
Namespace: Amazon.CDK.AWS.Pipes.Sources.Alpha
Assembly: Amazon.CDK.AWS.Pipes.Sources.Alpha.dll
Syntax (csharp)
public interface IDynamoDBSourceParameters : IStreamSourceParameters
Syntax (vb)
Public Interface IDynamoDBSourceParameters
Inherits IStreamSourceParameters
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Queue targetQueue;
var table = new TableV2(this, "MyTable", new TablePropsV2 {
PartitionKey = new Attribute {
Name = "id",
Type = AttributeType.STRING
},
DynamoStream = StreamViewType.NEW_IMAGE
});
var pipeSource = new DynamoDBSource(table, new DynamoDBSourceParameters {
StartingPosition = DynamoDBStartingPosition.LATEST
});
var pipe = new Pipe(this, "Pipe", new PipeProps {
Source = pipeSource,
Target = new SqsTarget(targetQueue)
});
Synopsis
Properties
Starting |
(experimental) The position in a stream from which to start reading. |
Properties
StartingPosition
(experimental) The position in a stream from which to start reading.
DynamoDBStartingPosition StartingPosition { get; }
Property Value