class FirehoseLogDestination
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Pipes.Alpha.FirehoseLogDestination |
![]() | github.com/aws/aws-cdk-go/awscdkpipesalpha/v2#FirehoseLogDestination |
![]() | software.amazon.awscdk.services.pipes.alpha.FirehoseLogDestination |
![]() | aws_cdk.aws_pipes_alpha.FirehoseLogDestination |
![]() | @aws-cdk/aws-pipes-alpha » FirehoseLogDestination |
Implements
ILog
Firehose stream for delivery of pipe logs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kinesisfirehose_alpha from '@aws-cdk/aws-kinesisfirehose-alpha';
import * as pipes_alpha from '@aws-cdk/aws-pipes-alpha';
declare const deliveryStream: kinesisfirehose_alpha.DeliveryStream;
const firehoseLogDestination = new pipes_alpha.FirehoseLogDestination(deliveryStream);
Initializer
new FirehoseLogDestination(deliveryStream: IDeliveryStream)
Parameters
- deliveryStream
IDelivery
Stream
Methods
Name | Description |
---|---|
bind(_pipe) | Bind the log destination to the pipe. |
grant | Grant the pipe role to push to the log destination. |
bind(_pipe)
public bind(_pipe: IPipe): LogDestinationConfig
Parameters
- _pipe
IPipe
Returns
Bind the log destination to the pipe.
grantPush(pipeRole)
public grantPush(pipeRole: IRole): void
Parameters
- pipeRole
IRole
Grant the pipe role to push to the log destination.