Fastly v11.1.0 published on Wednesday, Nov 5, 2025 by Pulumi
fastly.getNgwafWorkspaceSignals
Start a Neo task
Explain and create a fastly.getNgwafWorkspaceSignals resource
Use this data source to get a Fastly Next-Gen WAF Workspace Signal.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const workspaceSignals = fastly.getNgwafWorkspaceSignals({
workspaceId: example.id,
});
export const fastlyNgwafWorkspaceSignalsAll = workspaceSignals;
import pulumi
import pulumi_fastly as fastly
workspace_signals = fastly.get_ngwaf_workspace_signals(workspace_id=example["id"])
pulumi.export("fastlyNgwafWorkspaceSignalsAll", workspace_signals)
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 {
workspaceSignals, err := fastly.GetNgwafWorkspaceSignals(ctx, &fastly.GetNgwafWorkspaceSignalsArgs{
WorkspaceId: example.Id,
}, nil)
if err != nil {
return err
}
ctx.Export("fastlyNgwafWorkspaceSignalsAll", workspaceSignals)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() =>
{
var workspaceSignals = Fastly.GetNgwafWorkspaceSignals.Invoke(new()
{
WorkspaceId = example.Id,
});
return new Dictionary<string, object?>
{
["fastlyNgwafWorkspaceSignalsAll"] = workspaceSignals,
};
});
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.GetNgwafWorkspaceSignalsArgs;
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 workspaceSignals = FastlyFunctions.getNgwafWorkspaceSignals(GetNgwafWorkspaceSignalsArgs.builder()
.workspaceId(example.id())
.build());
ctx.export("fastlyNgwafWorkspaceSignalsAll", workspaceSignals);
}
}
variables:
workspaceSignals:
fn::invoke:
function: fastly:getNgwafWorkspaceSignals
arguments:
workspaceId: ${example.id}
outputs:
fastlyNgwafWorkspaceSignalsAll: ${workspaceSignals}
Using getNgwafWorkspaceSignals
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 getNgwafWorkspaceSignals(args: GetNgwafWorkspaceSignalsArgs, opts?: InvokeOptions): Promise<GetNgwafWorkspaceSignalsResult>
function getNgwafWorkspaceSignalsOutput(args: GetNgwafWorkspaceSignalsOutputArgs, opts?: InvokeOptions): Output<GetNgwafWorkspaceSignalsResult>def get_ngwaf_workspace_signals(workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNgwafWorkspaceSignalsResult
def get_ngwaf_workspace_signals_output(workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNgwafWorkspaceSignalsResult]func GetNgwafWorkspaceSignals(ctx *Context, args *GetNgwafWorkspaceSignalsArgs, opts ...InvokeOption) (*GetNgwafWorkspaceSignalsResult, error)
func GetNgwafWorkspaceSignalsOutput(ctx *Context, args *GetNgwafWorkspaceSignalsOutputArgs, opts ...InvokeOption) GetNgwafWorkspaceSignalsResultOutput> Note: This function is named GetNgwafWorkspaceSignals in the Go SDK.
public static class GetNgwafWorkspaceSignals
{
public static Task<GetNgwafWorkspaceSignalsResult> InvokeAsync(GetNgwafWorkspaceSignalsArgs args, InvokeOptions? opts = null)
public static Output<GetNgwafWorkspaceSignalsResult> Invoke(GetNgwafWorkspaceSignalsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNgwafWorkspaceSignalsResult> getNgwafWorkspaceSignals(GetNgwafWorkspaceSignalsArgs args, InvokeOptions options)
public static Output<GetNgwafWorkspaceSignalsResult> getNgwafWorkspaceSignals(GetNgwafWorkspaceSignalsArgs args, InvokeOptions options)
fn::invoke:
function: fastly:index/getNgwafWorkspaceSignals:getNgwafWorkspaceSignals
arguments:
# arguments dictionaryThe 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.
getNgwafWorkspaceSignals Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Signals
List<Get
Ngwaf Workspace Signals Signal> - The list of custom signals.
- Workspace
Id string - The ID of the workspace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Signals
[]Get
Ngwaf Workspace Signals Signal - The list of custom signals.
- Workspace
Id string - The ID of the workspace.
- id String
- The provider-assigned unique ID for this managed resource.
- signals
List<Get
Ngwaf Workspace Signals Signal> - The list of custom signals.
- workspace
Id String - The ID of the workspace.
- id string
- The provider-assigned unique ID for this managed resource.
- signals
Get
Ngwaf Workspace Signals Signal[] - The list of custom signals.
- workspace
Id string - The ID of the workspace.
- id str
- The provider-assigned unique ID for this managed resource.
- signals
Sequence[Get
Ngwaf Workspace Signals Signal] - The list of custom signals.
- workspace_
id str - The ID of the workspace.
- id String
- The provider-assigned unique ID for this managed resource.
- signals List<Property Map>
- The list of custom signals.
- workspace
Id String - The ID of the workspace.
Supporting Types
GetNgwafWorkspaceSignalsSignal
- Description string
- The description of the signal.
- Id string
- The ID of the signal.
- Name string
- The name of the signal.
- Tag
Name string - The tag name of the signal.
- Description string
- The description of the signal.
- Id string
- The ID of the signal.
- Name string
- The name of the signal.
- Tag
Name string - The tag name of the signal.
- description String
- The description of the signal.
- id String
- The ID of the signal.
- name String
- The name of the signal.
- tag
Name String - The tag name of the signal.
- description string
- The description of the signal.
- id string
- The ID of the signal.
- name string
- The name of the signal.
- tag
Name string - The tag name of the signal.
- description str
- The description of the signal.
- id str
- The ID of the signal.
- name str
- The name of the signal.
- tag_
name str - The tag name of the signal.
- description String
- The description of the signal.
- id String
- The ID of the signal.
- name String
- The name of the signal.
- tag
Name String - The tag name of the signal.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastlyTerraform Provider.
