@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
54 lines (53 loc) • 1.73 kB
TypeScript
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<GetWebhookResult>;
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<GetWebhookResult>;
export interface GetWebhookOutputArgs {
/**
* logical id of the webhook
*/
id: pulumi.Input<string>;
}