import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::CodePipeline::Webhook */ export declare function getWebhook(args: GetWebhookArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetWebhookArgs { /** * logical id of the webhook */ id: string; } export interface GetWebhookResult { /** * Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED. */ readonly authentication?: enums.codepipeline.WebhookAuthentication; /** * Properties that configure the authentication applied to incoming webhook trigger requests */ readonly authenticationConfiguration?: outputs.codepipeline.WebhookAuthConfiguration; /** * A list of rules applied to the body/payload sent in the POST request to a webhook URL */ readonly filters?: outputs.codepipeline.WebhookFilterRule[]; /** * logical id of the webhook */ readonly id?: string; /** * The name of the action in a pipeline you want to connect to the webhook. */ readonly targetAction?: string; /** * The name of the pipeline you want to connect to the webhook. */ readonly targetPipeline?: string; /** * The webhook URL generated by AWS CodePipeline */ readonly url?: string; } /** * Resource Type definition for AWS::CodePipeline::Webhook */ export declare function getWebhookOutput(args: GetWebhookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetWebhookOutputArgs { /** * logical id of the webhook */ id: pulumi.Input; }