Experimental
@aws-cdk/aws-pipes-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
FirehoseLogDestination Class
Firehose stream for delivery of pipe logs.
| Stability | Experimental |
|---|---|
| Source | lib/logs.ts |
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_kinesisfirehose as kinesisfirehose } from 'aws-cdk-lib';
declare const deliveryStream: kinesisfirehose.DeliveryStream;
const firehoseLogDestination = new pipes_alpha.FirehoseLogDestination(deliveryStream);
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
// 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);
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);
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
ts
new FirehoseLogDestination(deliveryStream: IDeliveryStream)
python
FirehoseLogDestination(delivery_stream: IDeliveryStream)
java
new FirehoseLogDestination(IDeliveryStream deliveryStream)
csharp
new FirehoseLogDestination(IDeliveryStream deliveryStream)
go
NewFirehoseLogDestination(DeliveryStream IDeliveryStream)
Methods
bind(_pipe: IPipe): LogDestinationConfigdef bind(self, _pipe: IPipe) -> LogDestinationConfigpublic LogDestinationConfig bind(IPipe _pipe)public LogDestinationConfig Bind(IPipe _pipe)func Bind(_pipe IPipe) LogDestinationConfig #Bind the log destination to the pipe.