Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi
fastly.getNgwafAlertSlackIntegration
Explore with Pulumi AI
Use this data source to get a Fastly Next-Gen WAF Alert Slack integration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const ngwafSlackAlerts = fastly.getNgwafAlertSlackIntegration({
workspaceId: example.id,
});
export const ngwafSlackAlertsAll = ngwafSlackAlerts;
import pulumi
import pulumi_fastly as fastly
ngwaf_slack_alerts = fastly.get_ngwaf_alert_slack_integration(workspace_id=example["id"])
pulumi.export("ngwafSlackAlertsAll", ngwaf_slack_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 {
ngwafSlackAlerts, err := fastly.LookupNgwafAlertSlackIntegration(ctx, &fastly.LookupNgwafAlertSlackIntegrationArgs{
WorkspaceId: example.Id,
}, nil)
if err != nil {
return err
}
ctx.Export("ngwafSlackAlertsAll", ngwafSlackAlerts)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() =>
{
var ngwafSlackAlerts = Fastly.GetNgwafAlertSlackIntegration.Invoke(new()
{
WorkspaceId = example.Id,
});
return new Dictionary<string, object?>
{
["ngwafSlackAlertsAll"] = ngwafSlackAlerts,
};
});
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.GetNgwafAlertSlackIntegrationArgs;
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 ngwafSlackAlerts = FastlyFunctions.getNgwafAlertSlackIntegration(GetNgwafAlertSlackIntegrationArgs.builder()
.workspaceId(example.id())
.build());
ctx.export("ngwafSlackAlertsAll", ngwafSlackAlerts);
}
}
variables:
ngwafSlackAlerts:
fn::invoke:
function: fastly:getNgwafAlertSlackIntegration
arguments:
workspaceId: ${example.id}
outputs:
ngwafSlackAlertsAll: ${ngwafSlackAlerts}
Using getNgwafAlertSlackIntegration
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 getNgwafAlertSlackIntegration(args: GetNgwafAlertSlackIntegrationArgs, opts?: InvokeOptions): Promise<GetNgwafAlertSlackIntegrationResult>
function getNgwafAlertSlackIntegrationOutput(args: GetNgwafAlertSlackIntegrationOutputArgs, opts?: InvokeOptions): Output<GetNgwafAlertSlackIntegrationResult>
def get_ngwaf_alert_slack_integration(workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNgwafAlertSlackIntegrationResult
def get_ngwaf_alert_slack_integration_output(workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNgwafAlertSlackIntegrationResult]
func LookupNgwafAlertSlackIntegration(ctx *Context, args *LookupNgwafAlertSlackIntegrationArgs, opts ...InvokeOption) (*LookupNgwafAlertSlackIntegrationResult, error)
func LookupNgwafAlertSlackIntegrationOutput(ctx *Context, args *LookupNgwafAlertSlackIntegrationOutputArgs, opts ...InvokeOption) LookupNgwafAlertSlackIntegrationResultOutput
> Note: This function is named LookupNgwafAlertSlackIntegration
in the Go SDK.
public static class GetNgwafAlertSlackIntegration
{
public static Task<GetNgwafAlertSlackIntegrationResult> InvokeAsync(GetNgwafAlertSlackIntegrationArgs args, InvokeOptions? opts = null)
public static Output<GetNgwafAlertSlackIntegrationResult> Invoke(GetNgwafAlertSlackIntegrationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNgwafAlertSlackIntegrationResult> getNgwafAlertSlackIntegration(GetNgwafAlertSlackIntegrationArgs args, InvokeOptions options)
public static Output<GetNgwafAlertSlackIntegrationResult> getNgwafAlertSlackIntegration(GetNgwafAlertSlackIntegrationArgs args, InvokeOptions options)
fn::invoke:
function: fastly:index/getNgwafAlertSlackIntegration:getNgwafAlertSlackIntegration
arguments:
# arguments dictionary
The following arguments are supported:
- Workspace
Id string - The ID of the workspace.
- Workspace
Id string - The ID of the workspace.
- workspace
Id String - The ID of the workspace.
- workspace
Id string - The ID of the workspace.
- workspace_
id str - The ID of the workspace.
- workspace
Id String - The ID of the workspace.
getNgwafAlertSlackIntegration Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Slack
Alerts List<GetNgwaf Alert Slack Integration Slack Alert> - List of all Slack alerts for a workspace.
- Workspace
Id string - The ID of the workspace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Slack
Alerts []GetNgwaf Alert Slack Integration Slack Alert - List of all Slack alerts for a workspace.
- Workspace
Id string - The ID of the workspace.
- id String
- The provider-assigned unique ID for this managed resource.
- slack
Alerts List<GetNgwaf Alert Slack Integration Slack Alert> - List of all Slack alerts for a workspace.
- workspace
Id String - The ID of the workspace.
- id string
- The provider-assigned unique ID for this managed resource.
- slack
Alerts GetNgwaf Alert Slack Integration Slack Alert[] - List of all Slack alerts for a workspace.
- workspace
Id string - The ID of the workspace.
- id str
- The provider-assigned unique ID for this managed resource.
- slack_
alerts Sequence[GetNgwaf Alert Slack Integration Slack Alert] - List of all Slack alerts for a workspace.
- workspace_
id str - The ID of the workspace.
- id String
- The provider-assigned unique ID for this managed resource.
- slack
Alerts List<Property Map> - List of all Slack alerts for a workspace.
- workspace
Id String - The ID of the workspace.
Supporting Types
GetNgwafAlertSlackIntegrationSlackAlert
- 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
fastly
Terraform Provider.