WebhookArgs class
The set of arguments for Webhook. The set of arguments for Webhook.
Constructors
-
WebhookArgs({required Input<
String> authentication, Input<WebhookAuthenticationConfiguration?> ? authenticationConfiguration, required Input<List< filters, Input<WebhookFilter> >String?> ? name, Input<String?> ? region, Input<Map< ? tags, required Input<String, String> ?>String> targetAction, required Input<String> targetPipeline}) -
Creates a new WebhookArgs.
authenticationThe type of authentication to use. One ofIP,GITHUB_HMAC, orUNAUTHENTICATED.authenticationConfigurationAnauthblock. Required forIPandGITHUB_HMAC. Auth blocks are documented below.filtersOne or morefilterblocks. Filter blocks are documented below.nameThe name of the webhook.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.targetActionThe 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.targetPipelineThe name of the pipeline.const -
WebhookArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
authentication
→ Input<
String> -
The type of authentication to use. One of
IP,GITHUB_HMAC, orUNAUTHENTICATED.final -
authenticationConfiguration
→ Input<
WebhookAuthenticationConfiguration?> ? -
An
authblock. Required forIPandGITHUB_HMAC. Auth blocks are documented below.final -
filters
→ Input<
List< WebhookFilter> > -
One or more
filterblocks. Filter blocks are documented below.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The name of the webhook.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
targetAction
→ Input<
String> -
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.
final
-
targetPipeline
→ Input<
String> -
The name of the pipeline.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited