Class SqsTargetParameters
(experimental) SQS target properties.
Inheritance
System.Object
SqsTargetParameters
Implements
Namespace: Amazon.CDK.AWS.Pipes.Targets.Alpha
Assembly: Amazon.CDK.AWS.Pipes.Targets.Alpha.dll
Syntax (csharp)
public class SqsTargetParameters : Object, ISqsTargetParameters
Syntax (vb)
Public Class SqsTargetParameters
Inherits Object
Implements ISqsTargetParameters
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Queue sourceQueue;
Queue targetQueue;
var pipeTarget = new SqsTarget(targetQueue, new SqsTargetParameters {
InputTransformation = InputTransformation.FromObject(new Dictionary<string, object> {
{ "SomeKey", DynamicInput.FromEventPath("$.body") }
})
});
var pipe = new Pipe(this, "Pipe", new PipeProps {
Source = new SomeSource(sourceQueue),
Target = pipeTarget
});
Synopsis
Constructors
SqsTargetParameters() |
Properties
InputTransformation | (experimental) The input transformation to apply to the message before sending it to the target. |
MessageDeduplicationId | (experimental) This parameter applies only to FIFO (first-in-first-out) queues. |
MessageGroupId | (experimental) The FIFO message group ID to use as the target. |
Constructors
SqsTargetParameters()
public SqsTargetParameters()
Properties
InputTransformation
(experimental) The input transformation to apply to the message before sending it to the target.
public IInputTransformation InputTransformation { get; set; }
Property Value
Remarks
Default: none
Stability: Experimental
MessageDeduplicationId
(experimental) This parameter applies only to FIFO (first-in-first-out) queues.
public string MessageDeduplicationId { get; set; }
Property Value
System.String
Remarks
The token used for deduplication of sent messages.
Default: none
Stability: Experimental
MessageGroupId
(experimental) The FIFO message group ID to use as the target.
public string MessageGroupId { get; set; }
Property Value
System.String