> **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.
# CloudWatchLogsTargetParameters

CloudWatch Logs target properties.

Extends: CloudWatchLogsTargetParameters
Used as props by: CloudWatchLogsTarget

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

## Example

```ts
declare const sourceQueue: sqs.Queue;
declare const targetLogGroup: logs.LogGroup;

const logGroupTarget = new targets.CloudWatchLogsTarget(targetLogGroup, {
  inputTransformation: pipes.InputTransformation.fromObject({ body: "👀" }),
});

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

## Properties

- `inputTransformation`: [IInputTransformation](/cdk/api/v2/docs/@aws-cdk_aws-pipes-alpha.IInputTransformation.html) = none — The input transformation to apply to the message before sending it to the target.

- `logStreamName`: string = none — The name of the log stream.

- `timestamp`: string — The JSON path expression that references the timestamp in the payload.

  **Default:** current time

  This is the time that the event occurred, as a JSON path expression in the payload.

  ```ts
  '$.data.timestamp'
  ```
