From fe764761d9286f02ed178c4eed3493c19f394285 Mon Sep 17 00:00:00 2001 From: Michael Sambol Date: Fri, 27 Sep 2024 18:40:40 -0700 Subject: [PATCH] fix readme --- packages/@aws-cdk/aws-pipes-targets-alpha/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/@aws-cdk/aws-pipes-targets-alpha/README.md b/packages/@aws-cdk/aws-pipes-targets-alpha/README.md index 1a34674b92f5a..cc1ab983b55a7 100644 --- a/packages/@aws-cdk/aws-pipes-targets-alpha/README.md +++ b/packages/@aws-cdk/aws-pipes-targets-alpha/README.md @@ -100,7 +100,6 @@ const pipeTarget = new targets.SfnStateMachine(targetStateMachine, } ); - const pipe = new pipes.Pipe(this, 'Pipe', { source: new SomeSource(sourceQueue), target: pipeTarget @@ -229,7 +228,7 @@ The input to the target event bus can be transformed: declare const sourceQueue: sqs.Queue; declare const targetEventBus: events.EventBus; -const eventBusTarget = new targets.EventBridgeTarget(targetEventBus{ +const eventBusTarget = new targets.EventBridgeTarget(targetEventBus, { inputTransformation: pipes.InputTransformation.fromObject({ body: "👀" }), });