Files
2026-05-06 18:55:16 -05:00

31 lines
1.1 KiB
TypeScript

import type { Construct } from 'constructs';
import * as iam from '../../aws-iam';
import type * as firehose from '../../aws-kinesisfirehose';
import type * as logs from '../../aws-logs';
import type { ILogGroupRef } from '../../interfaces/generated/aws-logs-interfaces.generated';
/**
* Customize the Amazon Data Firehose Logs Destination
*/
export interface FirehoseDestinationProps {
/**
* The role to assume to write log events to the destination
*
* @default - A new Role is created
*/
readonly role?: iam.IRole;
}
/**
* Use a Data Firehose delivery stream as the destination for a log subscription
*/
export declare class FirehoseDestination implements logs.ILogSubscriptionDestination {
private readonly stream;
private readonly props;
/**
* @param stream The Data Firehose delivery stream to use as destination
* @param props The Data Firehose Destination properties
*
*/
constructor(stream: firehose.IDeliveryStream, props?: FirehoseDestinationProps);
bind(scope: Construct, _sourceLogGroup: ILogGroupRef): logs.LogSubscriptionDestinationConfig;
}