Skip to content
v2.274.0

Experimental

@aws-cdk/aws-pipes-targets-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

FirehoseTargetParameters Struct ​

Amazon Data Firehose target properties.

Example ​

ts
declare const sourceQueue: sqs.Queue;
declare const targetDeliveryStream: firehose.DeliveryStream;

const deliveryStreamTarget = new targets.FirehoseTarget(targetDeliveryStream, {
  inputTransformation: pipes.InputTransformation.fromObject({ body: "👀" }),
});

const pipe = new pipes.Pipe(this, 'Pipe', {
  source: new SqsSource(sourceQueue),
  target: deliveryStreamTarget,
});

Properties ​

inputTransformationIInputTransformationinput_transformationIInputTransformationinputTransformationIInputTransformationInputTransformationIInputTransformationInputTransformationIInputTransformation= none#
The input transformation to apply to the message before sending it to the target.