Event Targets
An EventTarget is a delivery destination for EventRecords.
Resource Schema
Required
| Property | Description |
|---|---|
| name String | Event Target name. |
| target_type String | Event Target type. Possible values: email, webhook, slack_webhook, teams_webhook, amazon_sns, google_pubsub, folder |
| config Dynamic | Event Target configuration. Folder targets accept path and format (json or csv). |
Optional
| Property | Description |
|---|---|
| workspace_id Int64 | Workspace ID. 0 means the default workspace or site-wide. |
| apply_to_all_workspaces Bool | If true, this default-workspace target can receive events from all workspaces. |
| enabled Bool | Whether this Event Target can receive events. |
| delivery_policy Dynamic | Event Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400. |
Read Only
| Property | Description |
|---|---|
| id Int64 | Event Target ID |
| created_at String | Event Target create date/time. |
| updated_at String | Event Target update date/time. |
Resource Import
This Resource supports importing using the following syntax:
Data Source Schema
Required
| Property | Description |
|---|---|
| id Int64 | Event Target ID |
Read Only
| Property | Description |
|---|---|
| name String | Event Target name. |
| target_type String | Event Target type. Possible values: email, webhook, slack_webhook, teams_webhook, amazon_sns, google_pubsub, folder |
| workspace_id Int64 | Workspace ID. 0 means the default workspace or site-wide. |
| apply_to_all_workspaces Bool | If true, this default-workspace target can receive events from all workspaces. |
| enabled Bool | Whether this Event Target can receive events. |
| config Dynamic | Event Target configuration. Folder targets accept path and format (json or csv). |
| delivery_policy Dynamic | Event Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400. |
| created_at String | Event Target create date/time. |
| updated_at String | Event Target update date/time. |