Viewing docs for Fastly v11.4.1
published on Friday, Feb 27, 2026 by Pulumi
published on Friday, Feb 27, 2026 by Pulumi
Viewing docs for Fastly v11.4.1
published on Friday, Feb 27, 2026 by Pulumi
published on Friday, Feb 27, 2026 by Pulumi
Use this data source to get a Fastly Next-Gen WAF Account List.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const accountLists = fastly.getNgwafAccountLists({});
export const fastlyNgwafAccountListsAll = accountLists;
import pulumi
import pulumi_fastly as fastly
account_lists = fastly.get_ngwaf_account_lists()
pulumi.export("fastlyNgwafAccountListsAll", account_lists)
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 {
accountLists, err := fastly.GetNgwafAccountLists(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("fastlyNgwafAccountListsAll", accountLists)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() =>
{
var accountLists = Fastly.GetNgwafAccountLists.Invoke();
return new Dictionary<string, object?>
{
["fastlyNgwafAccountListsAll"] = accountLists,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fastly.FastlyFunctions;
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 accountLists = FastlyFunctions.getNgwafAccountLists(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
ctx.export("fastlyNgwafAccountListsAll", accountLists);
}
}
variables:
accountLists:
fn::invoke:
function: fastly:getNgwafAccountLists
arguments: {}
outputs:
fastlyNgwafAccountListsAll: ${accountLists}
Using getNgwafAccountLists
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 getNgwafAccountLists(opts?: InvokeOptions): Promise<GetNgwafAccountListsResult>
function getNgwafAccountListsOutput(opts?: InvokeOptions): Output<GetNgwafAccountListsResult>def get_ngwaf_account_lists(opts: Optional[InvokeOptions] = None) -> GetNgwafAccountListsResult
def get_ngwaf_account_lists_output(opts: Optional[InvokeOptions] = None) -> Output[GetNgwafAccountListsResult]func GetNgwafAccountLists(ctx *Context, opts ...InvokeOption) (*GetNgwafAccountListsResult, error)
func GetNgwafAccountListsOutput(ctx *Context, opts ...InvokeOption) GetNgwafAccountListsResultOutput> Note: This function is named GetNgwafAccountLists in the Go SDK.
public static class GetNgwafAccountLists
{
public static Task<GetNgwafAccountListsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetNgwafAccountListsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetNgwafAccountListsResult> getNgwafAccountLists(InvokeOptions options)
public static Output<GetNgwafAccountListsResult> getNgwafAccountLists(InvokeOptions options)
fn::invoke:
function: fastly:index/getNgwafAccountLists:getNgwafAccountLists
arguments:
# arguments dictionarygetNgwafAccountLists Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lists
List<Get
Ngwaf Account Lists List> - The list of lists.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lists
[]Get
Ngwaf Account Lists List - The list of lists.
- id String
- The provider-assigned unique ID for this managed resource.
- lists
List<Get
Ngwaf Account Lists List> - The list of lists.
- id string
- The provider-assigned unique ID for this managed resource.
- lists
Get
Ngwaf Account Lists List[] - The list of lists.
- id str
- The provider-assigned unique ID for this managed resource.
- lists
Sequence[Get
Ngwaf Account Lists List] - The list of lists.
- id String
- The provider-assigned unique ID for this managed resource.
- lists List<Property Map>
- The list of lists.
Supporting Types
GetNgwafAccountListsList
- Created
At string - The date and time in ISO 8601 format when the list was created.
- Description string
- The description of the list.
- Id string
- The ID of the list.
- Name string
- The name of the list.
- Reference
Id string - The reference ID of the list.
- Type string
- The type of the list.
- Updated
At string - The date and time in ISO 8601 format when the list was last updated.
- Created
At string - The date and time in ISO 8601 format when the list was created.
- Description string
- The description of the list.
- Id string
- The ID of the list.
- Name string
- The name of the list.
- Reference
Id string - The reference ID of the list.
- Type string
- The type of the list.
- Updated
At string - The date and time in ISO 8601 format when the list was last updated.
- created
At String - The date and time in ISO 8601 format when the list was created.
- description String
- The description of the list.
- id String
- The ID of the list.
- name String
- The name of the list.
- reference
Id String - The reference ID of the list.
- type String
- The type of the list.
- updated
At String - The date and time in ISO 8601 format when the list was last updated.
- created
At string - The date and time in ISO 8601 format when the list was created.
- description string
- The description of the list.
- id string
- The ID of the list.
- name string
- The name of the list.
- reference
Id string - The reference ID of the list.
- type string
- The type of the list.
- updated
At string - The date and time in ISO 8601 format when the list was last updated.
- created_
at str - The date and time in ISO 8601 format when the list was created.
- description str
- The description of the list.
- id str
- The ID of the list.
- name str
- The name of the list.
- reference_
id str - The reference ID of the list.
- type str
- The type of the list.
- updated_
at str - The date and time in ISO 8601 format when the list was last updated.
- created
At String - The date and time in ISO 8601 format when the list was created.
- description String
- The description of the list.
- id String
- The ID of the list.
- name String
- The name of the list.
- reference
Id String - The reference ID of the list.
- type String
- The type of the list.
- updated
At String - The date and time in ISO 8601 format when the list was last updated.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastlyTerraform Provider.
Viewing docs for Fastly v11.4.1
published on Friday, Feb 27, 2026 by Pulumi
published on Friday, Feb 27, 2026 by Pulumi
