UNPKG

cdk-eventbridge-partner-processors

Version:

[![View on Construct Hub](https://constructs.dev/badge?package=cdk-eventbridge-partner-processors)](https://constructs.dev/packages/cdk-eventbridge-partner-processors)

26 lines (25 loc) 935 B
import { IEventBus } from 'aws-cdk-lib/aws-events'; import { ISecret } from 'aws-cdk-lib/aws-secretsmanager'; import { Construct } from 'constructs'; import { PartnerProcessor } from './PartnerFunction'; export interface GitHubProps { /** * SM Secret containing the secret string used to validate webhook events. */ readonly webhookSecret: ISecret; /** * Eventbus to send GitHub events to. */ readonly eventBus: IEventBus; /** * Maximum number of concurrent invocations on the fURL function before triggering the alarm. */ readonly lambdaInvocationAlarmThreshold: number; } /** * CDK wrapper for the GitHub Eventbridge processor. * @see https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas-furls.html#furls-connection-github */ export declare class GitHubEventProcessor extends PartnerProcessor { constructor(scope: Construct, id: string, props: GitHubProps); }