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: "👀" }), });