Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi
fastly.getNgwafAlertWebhookIntegration
Use this data source to get a Fastly Next-Gen WAF Alert Webhook integration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const ngwafWebhookAlerts = fastly.getNgwafAlertWebhookIntegration({
    workspaceId: example.id,
});
export const ngwafWebhookAlertsAll = ngwafWebhookAlerts;
import pulumi
import pulumi_fastly as fastly
ngwaf_webhook_alerts = fastly.get_ngwaf_alert_webhook_integration(workspace_id=example["id"])
pulumi.export("ngwafWebhookAlertsAll", ngwaf_webhook_alerts)
package main
import (
	"github.com/pulumi/pulumi-fastly/sdk/v11/go/fastly"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ngwafWebhookAlerts, err := fastly.LookupNgwafAlertWebhookIntegration(ctx, &fastly.LookupNgwafAlertWebhookIntegrationArgs{
			WorkspaceId: example.Id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ngwafWebhookAlertsAll", ngwafWebhookAlerts)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() => 
{
    var ngwafWebhookAlerts = Fastly.GetNgwafAlertWebhookIntegration.Invoke(new()
    {
        WorkspaceId = example.Id,
    });
    return new Dictionary<string, object?>
    {
        ["ngwafWebhookAlertsAll"] = ngwafWebhookAlerts,
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fastly.FastlyFunctions;
import com.pulumi.fastly.inputs.GetNgwafAlertWebhookIntegrationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var ngwafWebhookAlerts = FastlyFunctions.getNgwafAlertWebhookIntegration(GetNgwafAlertWebhookIntegrationArgs.builder()
            .workspaceId(example.id())
            .build());
        ctx.export("ngwafWebhookAlertsAll", ngwafWebhookAlerts);
    }
}
variables:
  ngwafWebhookAlerts:
    fn::invoke:
      function: fastly:getNgwafAlertWebhookIntegration
      arguments:
        workspaceId: ${example.id}
outputs:
  ngwafWebhookAlertsAll: ${ngwafWebhookAlerts}
Using getNgwafAlertWebhookIntegration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNgwafAlertWebhookIntegration(args: GetNgwafAlertWebhookIntegrationArgs, opts?: InvokeOptions): Promise<GetNgwafAlertWebhookIntegrationResult>
function getNgwafAlertWebhookIntegrationOutput(args: GetNgwafAlertWebhookIntegrationOutputArgs, opts?: InvokeOptions): Output<GetNgwafAlertWebhookIntegrationResult>def get_ngwaf_alert_webhook_integration(workspace_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetNgwafAlertWebhookIntegrationResult
def get_ngwaf_alert_webhook_integration_output(workspace_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetNgwafAlertWebhookIntegrationResult]func LookupNgwafAlertWebhookIntegration(ctx *Context, args *LookupNgwafAlertWebhookIntegrationArgs, opts ...InvokeOption) (*LookupNgwafAlertWebhookIntegrationResult, error)
func LookupNgwafAlertWebhookIntegrationOutput(ctx *Context, args *LookupNgwafAlertWebhookIntegrationOutputArgs, opts ...InvokeOption) LookupNgwafAlertWebhookIntegrationResultOutput> Note: This function is named LookupNgwafAlertWebhookIntegration in the Go SDK.
public static class GetNgwafAlertWebhookIntegration 
{
    public static Task<GetNgwafAlertWebhookIntegrationResult> InvokeAsync(GetNgwafAlertWebhookIntegrationArgs args, InvokeOptions? opts = null)
    public static Output<GetNgwafAlertWebhookIntegrationResult> Invoke(GetNgwafAlertWebhookIntegrationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNgwafAlertWebhookIntegrationResult> getNgwafAlertWebhookIntegration(GetNgwafAlertWebhookIntegrationArgs args, InvokeOptions options)
public static Output<GetNgwafAlertWebhookIntegrationResult> getNgwafAlertWebhookIntegration(GetNgwafAlertWebhookIntegrationArgs args, InvokeOptions options)
fn::invoke:
  function: fastly:index/getNgwafAlertWebhookIntegration:getNgwafAlertWebhookIntegration
  arguments:
    # arguments dictionaryThe following arguments are supported:
- WorkspaceId string
- The ID of the workspace.
- WorkspaceId string
- The ID of the workspace.
- workspaceId String
- The ID of the workspace.
- workspaceId string
- The ID of the workspace.
- workspace_id str
- The ID of the workspace.
- workspaceId String
- The ID of the workspace.
getNgwafAlertWebhookIntegration Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- WebhookAlerts List<GetNgwaf Alert Webhook Integration Webhook Alert> 
- List of all webhook alerts for a workspace.
- WorkspaceId string
- The ID of the workspace.
- Id string
- The provider-assigned unique ID for this managed resource.
- WebhookAlerts []GetNgwaf Alert Webhook Integration Webhook Alert 
- List of all webhook alerts for a workspace.
- WorkspaceId string
- The ID of the workspace.
- id String
- The provider-assigned unique ID for this managed resource.
- webhookAlerts List<GetNgwaf Alert Webhook Integration Webhook Alert> 
- List of all webhook alerts for a workspace.
- workspaceId String
- The ID of the workspace.
- id string
- The provider-assigned unique ID for this managed resource.
- webhookAlerts GetNgwaf Alert Webhook Integration Webhook Alert[] 
- List of all webhook alerts for a workspace.
- workspaceId string
- The ID of the workspace.
- id str
- The provider-assigned unique ID for this managed resource.
- webhook_alerts Sequence[GetNgwaf Alert Webhook Integration Webhook Alert] 
- List of all webhook alerts for a workspace.
- workspace_id str
- The ID of the workspace.
- id String
- The provider-assigned unique ID for this managed resource.
- webhookAlerts List<Property Map>
- List of all webhook alerts for a workspace.
- workspaceId String
- The ID of the workspace.
Supporting Types
GetNgwafAlertWebhookIntegrationWebhookAlert      
- Id string
- The ID of the workspace alert.
- Id string
- The ID of the workspace alert.
- id String
- The ID of the workspace alert.
- id string
- The ID of the workspace alert.
- id str
- The ID of the workspace alert.
- id String
- The ID of the workspace alert.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the fastlyTerraform Provider.
