1. Packages
  2. Palo Alto Networks Cloud NGFW for AWS Provider
  3. API Docs
  4. getNgfws
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi

cloudngfwaws.getNgfws

Explore with Pulumi AI

Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi

Data source get a list of NGFWs.

Admin Permission Type

  • Firewall

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";

const example = cloudngfwaws.getNgfws({});
Copy
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws

example = cloudngfwaws.get_ngfws()
Copy
package main

import (
	"github.com/pulumi/pulumi-cloudngfwaws/sdk/go/cloudngfwaws"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudngfwaws.GetNgfws(ctx, &cloudngfwaws.GetNgfwsArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;

return await Deployment.RunAsync(() => 
{
    var example = CloudNgfwAws.GetNgfws.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudngfwaws.CloudngfwawsFunctions;
import com.pulumi.cloudngfwaws.inputs.GetNgfwsArgs;
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 example = CloudngfwawsFunctions.getNgfws();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: cloudngfwaws:getNgfws
      arguments: {}
Copy

Using getNgfws

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 getNgfws(args: GetNgfwsArgs, opts?: InvokeOptions): Promise<GetNgfwsResult>
function getNgfwsOutput(args: GetNgfwsOutputArgs, opts?: InvokeOptions): Output<GetNgfwsResult>
Copy
def get_ngfws(rulestack: Optional[str] = None,
              vpc_ids: Optional[Sequence[str]] = None,
              opts: Optional[InvokeOptions] = None) -> GetNgfwsResult
def get_ngfws_output(rulestack: Optional[pulumi.Input[str]] = None,
              vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetNgfwsResult]
Copy
func GetNgfws(ctx *Context, args *GetNgfwsArgs, opts ...InvokeOption) (*GetNgfwsResult, error)
func GetNgfwsOutput(ctx *Context, args *GetNgfwsOutputArgs, opts ...InvokeOption) GetNgfwsResultOutput
Copy

> Note: This function is named GetNgfws in the Go SDK.

public static class GetNgfws 
{
    public static Task<GetNgfwsResult> InvokeAsync(GetNgfwsArgs args, InvokeOptions? opts = null)
    public static Output<GetNgfwsResult> Invoke(GetNgfwsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNgfwsResult> getNgfws(GetNgfwsArgs args, InvokeOptions options)
public static Output<GetNgfwsResult> getNgfws(GetNgfwsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudngfwaws:index/getNgfws:getNgfws
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Rulestack string
The rulestack to filter on.
VpcIds List<string>
List of vpc ids to filter on.
Rulestack string
The rulestack to filter on.
VpcIds []string
List of vpc ids to filter on.
rulestack String
The rulestack to filter on.
vpcIds List<String>
List of vpc ids to filter on.
rulestack string
The rulestack to filter on.
vpcIds string[]
List of vpc ids to filter on.
rulestack str
The rulestack to filter on.
vpc_ids Sequence[str]
List of vpc ids to filter on.
rulestack String
The rulestack to filter on.
vpcIds List<String>
List of vpc ids to filter on.

getNgfws Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Instances List<Pulumi.CloudNgfwAws.Outputs.GetNgfwsInstance>
List of NGFWs.
Rulestack string
The rulestack to filter on.
VpcIds List<string>
List of vpc ids to filter on.
Id string
The provider-assigned unique ID for this managed resource.
Instances []GetNgfwsInstance
List of NGFWs.
Rulestack string
The rulestack to filter on.
VpcIds []string
List of vpc ids to filter on.
id String
The provider-assigned unique ID for this managed resource.
instances List<GetNgfwsInstance>
List of NGFWs.
rulestack String
The rulestack to filter on.
vpcIds List<String>
List of vpc ids to filter on.
id string
The provider-assigned unique ID for this managed resource.
instances GetNgfwsInstance[]
List of NGFWs.
rulestack string
The rulestack to filter on.
vpcIds string[]
List of vpc ids to filter on.
id str
The provider-assigned unique ID for this managed resource.
instances Sequence[GetNgfwsInstance]
List of NGFWs.
rulestack str
The rulestack to filter on.
vpc_ids Sequence[str]
List of vpc ids to filter on.
id String
The provider-assigned unique ID for this managed resource.
instances List<Property Map>
List of NGFWs.
rulestack String
The rulestack to filter on.
vpcIds List<String>
List of vpc ids to filter on.

Supporting Types

GetNgfwsInstance

AccountId This property is required. string
The account id.
Name This property is required. string
The NGFW name.
AccountId This property is required. string
The account id.
Name This property is required. string
The NGFW name.
accountId This property is required. String
The account id.
name This property is required. String
The NGFW name.
accountId This property is required. string
The account id.
name This property is required. string
The NGFW name.
account_id This property is required. str
The account id.
name This property is required. str
The NGFW name.
accountId This property is required. String
The account id.
name This property is required. String
The NGFW name.

Package Details

Repository
cloudngfwaws pulumi/pulumi-cloudngfwaws
License
Apache-2.0
Notes
This Pulumi package is based on the cloudngfwaws Terraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi