interface SqsTargetParameters
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pipes.Targets.Alpha.SqsTargetParameters |
Go | github.com/aws/aws-cdk-go/awscdkpipestargetsalpha/v2#SqsTargetParameters |
Java | software.amazon.awscdk.services.pipes.targets.alpha.SqsTargetParameters |
Python | aws_cdk.aws_pipes_targets_alpha.SqsTargetParameters |
TypeScript (source) | @aws-cdk/aws-pipes-targets-alpha » SqsTargetParameters |
SQS target properties.
Example
declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;
const pipeTarget = new targets.SqsTarget(targetQueue,
{
inputTransformation: pipes.InputTransformation.fromObject(
{
"SomeKey": pipes.DynamicInput.fromEventPath('$.body')
})
}
);
const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SqsSource(sourceQueue),
target: pipeTarget
});
Properties
Name | Type | Description |
---|---|---|
input | IInput | The input transformation to apply to the message before sending it to the target. |
message | string | This parameter applies only to FIFO (first-in-first-out) queues. |
message | string | The FIFO message group ID to use as the target. |
inputTransformation?
Type:
IInput
(optional, default: none)
The input transformation to apply to the message before sending it to the target.
messageDeduplicationId?
Type:
string
(optional, default: none)
This parameter applies only to FIFO (first-in-first-out) queues.
The token used for deduplication of sent messages.
messageGroupId?
Type:
string
(optional, default: none)
The FIFO message group ID to use as the target.