WebhookArgs constructor

const WebhookArgs({
  1. required Input<bool> active,
  2. required Input<String> displayName,
  3. Input<String>? environmentName,
  4. Input<List<WebhookFilters>>? filters,
  5. Input<WebhookFormat>? format,
  6. Input<List<WebhookGroup>>? groups,
  7. required Input<String> organizationName,
  8. required Input<String> payloadUrl,
  9. Input<String>? projectName,
  10. Input<String>? secret,
  11. 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.

Implementation

const WebhookArgs({
  required this.active,
  required this.displayName,
  this.environmentName,
  this.filters,
  this.format,
  this.groups,
  required this.organizationName,
  required this.payloadUrl,
  this.projectName,
  this.secret,
  this.stackName,
});