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

Firehose stream for delivery of pipe logs.

Implements: [ILogDestination](/cdk/api/v2/docs/@aws-cdk_aws-pipes-alpha.ILogDestination.html)

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

## Example

TypeScript:

```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_kinesisfirehose as kinesisfirehose } from 'aws-cdk-lib';

declare const deliveryStream: kinesisfirehose.DeliveryStream;
const firehoseLogDestination = new pipes_alpha.FirehoseLogDestination(deliveryStream);
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_pipes_alpha as pipes_alpha
from aws_cdk import aws_kinesisfirehose as kinesisfirehose

# delivery_stream: kinesisfirehose.DeliveryStream

firehose_log_destination = pipes_alpha.FirehoseLogDestination(delivery_stream)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pipes.alpha.*;
import software.amazon.awscdk.services.kinesisfirehose.*;

DeliveryStream deliveryStream;

FirehoseLogDestination firehoseLogDestination = new FirehoseLogDestination(deliveryStream);
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Pipes.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pipes.Alpha;
using Amazon.CDK.AWS.KinesisFirehose;

DeliveryStream deliveryStream;

var firehoseLogDestination = new FirehoseLogDestination(deliveryStream);
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkpipesalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import pipes_alpha "github.com/aws/aws-cdk-go/awscdkpipesalpha"
import "github.com/aws/aws-cdk-go/awscdk"

var deliveryStream DeliveryStream

firehoseLogDestination := pipes_alpha.NewFirehoseLogDestination(deliveryStream)
```

## Initializer

TypeScript:

```ts
new FirehoseLogDestination(deliveryStream: IDeliveryStream)
```

Python:

```python
FirehoseLogDestination(delivery_stream: IDeliveryStream)
```

Java:

```java
new FirehoseLogDestination(IDeliveryStream deliveryStream)
```

C# / .NET:

```csharp
new FirehoseLogDestination(IDeliveryStream deliveryStream)
```

Golang:

```go
NewFirehoseLogDestination(DeliveryStream IDeliveryStream)
```

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