Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-logs-destinations/lib/kinesis.d.ts
2026-05-06 18:55:16 -05:00

31 lines
1.0 KiB
TypeScript

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