> **Experimental**
>
> `@aws-cdk/aws-pipes-targets-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# SqsTarget

A EventBridge Pipes target that sends messages to an SQS queue.

Extends: SqsTarget
Implements: ITarget

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/sqs.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-pipes-targets-alpha/lib/sqs.ts#L39)

## Example

```ts
declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;

const pipeSource = new sources.SqsSource(sourceQueue, {
  batchSize: 10,
  maximumBatchingWindow: cdk.Duration.seconds(10)
});

const pipe = new pipes.Pipe(this, 'Pipe', {
  source: pipeSource,
  target: new SqsTarget(targetQueue)
});
```

## Initializer

```ts
new SqsTarget(queue: IQueue, parameters?: SqsTargetParameters)
```

## Properties

- `targetArn`: string — The ARN of the target resource.

## Methods

- `bind(pipe: IPipe): TargetConfig` — Bind this target to a pipe.

- `grantPush(grantee: IRole): void` — Grant the pipe role to push to the target.
