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

S3 bucket for delivery of pipe logs.

Extends: S3LogDestination
Implements: ILogDestination

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pipes_alpha from '@aws-cdk/aws-pipes-alpha';
import { aws_s3 as s3 } from 'aws-cdk-lib';

declare const bucket: s3.Bucket;
const s3LogDestination = new pipes_alpha.S3LogDestination({
  bucket: bucket,

  // the properties below are optional
  bucketOwner: 'bucketOwner',
  outputFormat: pipes_alpha.S3OutputFormat.PLAIN,
  prefix: 'prefix',
});
```

## Initializer

```ts
new S3LogDestination(parameters: S3LogDestinationProps)
```

## Methods

- `bind(_pipe: IPipe): LogDestinationConfig` — Bind the log destination to the pipe.

- `grantPush(pipeRole: IRole): void` — Grant the pipe role to push to the log destination.
