WebhookArgs constructor

const WebhookArgs({
  1. required Input<bool> active,
  2. required Input<String> displayName,
  3. required Input<String> envName,
  4. Input<List<String>>? filters,
  5. Input<String>? format,
  6. Input<List<String>>? groups,
  7. Input<String>? name,
  8. required Input<String> organizationName,
  9. required Input<String> payloadUrl,
  10. required Input<String> projectName,
  11. Input<String>? secret,
  12. Input<String>? stackName,
})

Creates a new WebhookArgs. active Whether the webhook is active and will receive deliveries. displayName The human-readable display name shown in the UI. envName The environment name. Set when the webhook is scoped to a specific environment. filters Specific event types this webhook subscribes to. If empty, all events are delivered. format The format of the webhook payload (e.g., 'raw', 'slack', 'ms_teams'). groups Event groups this webhook subscribes to (e.g., 'stacks', 'deployments'). name The unique identifier name for the webhook within its scope. Optional on creation; if omitted, the service generates a short random name. Always populated in responses. organizationName The organization that owns this webhook. payloadUrl The URL to which webhook payloads are delivered. projectName The project name. Set when the webhook is scoped to a specific stack. secret Secret will be omitted when returned from the service. stackName The stack name. Set when the webhook is scoped to a specific stack.

Implementation

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