WebhookArgs constructor
- required Input<
String> authentication, - Input<
WebhookAuthenticationConfiguration?> ? authenticationConfiguration, - required Input<
List< filters,WebhookFilter> > - Input<
String?> ? name, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - required Input<
String> targetAction, - required Input<
String> targetPipeline,
Creates a new WebhookArgs.
authentication The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
authenticationConfiguration An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
filters One or more filter blocks. Filter blocks are documented below.
name The name of the webhook.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
targetAction The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
targetPipeline The name of the pipeline.
Implementation
const WebhookArgs({
required this.authentication,
this.authenticationConfiguration,
required this.filters,
this.name,
this.region,
this.tags,
required this.targetAction,
required this.targetPipeline,
});