Class SqsSourceParameters
(experimental) Parameters for the SQS source.
Inheritance
System.Object
SqsSourceParameters
Implements
Namespace: Amazon.CDK.AWS.Pipes.Sources.Alpha
Assembly: Amazon.CDK.AWS.Pipes.Sources.Alpha.dll
Syntax (csharp)
public class SqsSourceParameters : Object, ISqsSourceParameters
Syntax (vb)
Public Class SqsSourceParameters
Inherits Object
Implements ISqsSourceParameters
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Queue sourceQueue;
Queue targetQueue;
var pipeSource = new SqsSource(sourceQueue, new SqsSourceParameters {
BatchSize = 10,
MaximumBatchingWindow = Duration.Seconds(10)
});
var pipe = new Pipe(this, "Pipe", new PipeProps {
Source = pipeSource,
Target = new SomeTarget(targetQueue)
});
Synopsis
Constructors
SqsSourceParameters() |
Properties
BatchSize | (experimental) The maximum number of records to include in each batch. |
MaximumBatchingWindow | (experimental) The maximum length of a time to wait for events. |
Constructors
SqsSourceParameters()
public SqsSourceParameters()
Properties
BatchSize
(experimental) The maximum number of records to include in each batch.
public Nullable<double> BatchSize { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
MaximumBatchingWindow
(experimental) The maximum length of a time to wait for events.
public Duration MaximumBatchingWindow { get; set; }
Property Value