WebhookArgs class

The set of arguments for Webhook. The set of arguments for Webhook.

Constructors

WebhookArgs({required Input<bool> active, required Input<String> displayName, Input<String>? environmentName, Input<List<WebhookFilters>>? filters, Input<WebhookFormat>? format, Input<List<WebhookGroup>>? groups, required Input<String> organizationName, required Input<String> payloadUrl, Input<String>? projectName, Input<String>? secret, Input<String>? stackName})
Creates a new WebhookArgs. active Indicates whether this webhook is enabled or not. displayName The friendly name displayed in the Pulumi Cloud. environmentName Name of the environment. Only specified if this is an environment webhook. filters Optional set of filters to apply to the webhook. See webhook docs for more information. format Format of the webhook payload. Can be either raw, slack, ms_teams or pulumi_deployments. Defaults to raw. groups Optional set of filter groups to apply to the webhook. See webhook docs for more information. organizationName Name of the organization. payloadUrl URL to send request to. projectName Name of the project. Only specified if this is a stack or environment webhook. secret Optional. secret used as the HMAC key. See webhook docs for more information. stackName Name of the stack. Only needed if this is a stack webhook.
const
WebhookArgs.fromMap(Map<String, dynamic> map)
factory

Properties

active → Input<bool>
Indicates whether this webhook is enabled or not.
final
displayName → Input<String>
The friendly name displayed in the Pulumi Cloud.
final
environmentName → Input<String>?
Name of the environment. Only specified if this is an environment webhook.
final
filters → Input<List<WebhookFilters>>?
Optional set of filters to apply to the webhook. See webhook docs for more information.
final
format → Input<WebhookFormat>?
Format of the webhook payload. Can be either raw, slack, ms_teams or pulumi_deployments. Defaults to raw.
final
groups → Input<List<WebhookGroup>>?
Optional set of filter groups to apply to the webhook. See webhook docs for more information.
final
hashCode → int
The hash code for this object.
no setterinherited
organizationName → Input<String>
Name of the organization.
final
payloadUrl → Input<String>
URL to send request to.
final
projectName → Input<String>?
Name of the project. Only specified if this is a stack or environment webhook.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → Input<String>?
Optional. secret used as the HMAC key. See webhook docs for more information.
final
stackName → Input<String>?
Name of the stack. Only needed if this is a stack webhook.
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