UNPKG

@cloudsnorkel/cdk-github-runners

Version:

CDK construct to create GitHub Actions self-hosted runners. Creates ephemeral runners on demand. Easy to deploy and highly customizable.

27 lines (26 loc) 753 B
import { Construct } from 'constructs'; import { Secrets } from './secrets'; import { WebhookRedeliveryFunction } from './webhook-redelivery-function'; /** * Properties for GithubWebhookRedelivery * * @internal */ export interface GithubWebhookRedeliveryProps { /** * Secrets used to communicate with GitHub. */ readonly secrets: Secrets; } /** * Create a Lambda that runs every 5 minutes to check for Github webhook delivery failures and retry them. * * @internal */ export declare class GithubWebhookRedelivery extends Construct { /** * Webhook redelivery lambda function. */ readonly handler: WebhookRedeliveryFunction; constructor(scope: Construct, id: string, props: GithubWebhookRedeliveryProps); }