Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi
cloudngfwaws.getNgfw
Explore with Pulumi AI
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi
Data source for retrieving NGFW information.
Admin Permission Type
- Firewall
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const example = cloudngfwaws.getNgfw({
    name: "example-instance",
});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.get_ngfw(name="example-instance")
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.LookupNgfw(ctx, &cloudngfwaws.LookupNgfwArgs{
			Name: "example-instance",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;
return await Deployment.RunAsync(() => 
{
    var example = CloudNgfwAws.GetNgfw.Invoke(new()
    {
        Name = "example-instance",
    });
});
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.GetNgfwArgs;
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.getNgfw(GetNgfwArgs.builder()
            .name("example-instance")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: cloudngfwaws:getNgfw
      arguments:
        name: example-instance
Using getNgfw
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 getNgfw(args: GetNgfwArgs, opts?: InvokeOptions): Promise<GetNgfwResult>
function getNgfwOutput(args: GetNgfwOutputArgs, opts?: InvokeOptions): Output<GetNgfwResult>def get_ngfw(account_id: Optional[str] = None,
             name: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetNgfwResult
def get_ngfw_output(account_id: Optional[pulumi.Input[str]] = None,
             name: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetNgfwResult]func LookupNgfw(ctx *Context, args *LookupNgfwArgs, opts ...InvokeOption) (*LookupNgfwResult, error)
func LookupNgfwOutput(ctx *Context, args *LookupNgfwOutputArgs, opts ...InvokeOption) LookupNgfwResultOutput> Note: This function is named LookupNgfw in the Go SDK.
public static class GetNgfw 
{
    public static Task<GetNgfwResult> InvokeAsync(GetNgfwArgs args, InvokeOptions? opts = null)
    public static Output<GetNgfwResult> Invoke(GetNgfwInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNgfwResult> getNgfw(GetNgfwArgs args, InvokeOptions options)
public static Output<GetNgfwResult> getNgfw(GetNgfwArgs args, InvokeOptions options)
fn::invoke:
  function: cloudngfwaws:index/getNgfw:getNgfw
  arguments:
    # arguments dictionaryThe following arguments are supported:
- name str
- The NGFW name.
- account_id str
- The account ID. This field is mandatory if using multiple accounts.
getNgfw Result
The following output properties are available:
- AppId stringVersion 
- App-ID version number.
- AutomaticUpgrade boolApp Id Version 
- Automatic App-ID upgrade version number.
- Description string
- The description.
- EndpointMode string
- Set endpoint mode from the following options. Valid values are ServiceManagedorCustomerManaged.
- EndpointService stringName 
- The endpoint service name.
- FirewallId string
- The Id of the NGFW.
- GlobalRulestack string
- The global rulestack for this NGFW.
- Id string
- The provider-assigned unique ID for this managed resource.
- LinkId string
- The link ID.
- LinkStatus string
- The link status.
- MultiVpc bool
- Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- Name string
- The NGFW name.
- Rulestack string
- The rulestack for this NGFW.
- Statuses
List<Pulumi.Cloud Ngfw Aws. Outputs. Get Ngfw Status> 
- SubnetMappings List<Pulumi.Cloud Ngfw Aws. Outputs. Get Ngfw Subnet Mapping> 
- Subnet mappings.
- Dictionary<string, string>
- The tags.
- UpdateToken string
- The update token.
- VpcId string
- The vpc id.
- AccountId string
- The account ID. This field is mandatory if using multiple accounts.
- AppId stringVersion 
- App-ID version number.
- AutomaticUpgrade boolApp Id Version 
- Automatic App-ID upgrade version number.
- Description string
- The description.
- EndpointMode string
- Set endpoint mode from the following options. Valid values are ServiceManagedorCustomerManaged.
- EndpointService stringName 
- The endpoint service name.
- FirewallId string
- The Id of the NGFW.
- GlobalRulestack string
- The global rulestack for this NGFW.
- Id string
- The provider-assigned unique ID for this managed resource.
- LinkId string
- The link ID.
- LinkStatus string
- The link status.
- MultiVpc bool
- Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- Name string
- The NGFW name.
- Rulestack string
- The rulestack for this NGFW.
- Statuses
[]GetNgfw Status 
- SubnetMappings []GetNgfw Subnet Mapping 
- Subnet mappings.
- map[string]string
- The tags.
- UpdateToken string
- The update token.
- VpcId string
- The vpc id.
- AccountId string
- The account ID. This field is mandatory if using multiple accounts.
- appId StringVersion 
- App-ID version number.
- automaticUpgrade BooleanApp Id Version 
- Automatic App-ID upgrade version number.
- description String
- The description.
- endpointMode String
- Set endpoint mode from the following options. Valid values are ServiceManagedorCustomerManaged.
- endpointService StringName 
- The endpoint service name.
- firewallId String
- The Id of the NGFW.
- globalRulestack String
- The global rulestack for this NGFW.
- id String
- The provider-assigned unique ID for this managed resource.
- linkId String
- The link ID.
- linkStatus String
- The link status.
- multiVpc Boolean
- Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- name String
- The NGFW name.
- rulestack String
- The rulestack for this NGFW.
- statuses
List<GetNgfw Status> 
- subnetMappings List<GetNgfw Subnet Mapping> 
- Subnet mappings.
- Map<String,String>
- The tags.
- updateToken String
- The update token.
- vpcId String
- The vpc id.
- accountId String
- The account ID. This field is mandatory if using multiple accounts.
- appId stringVersion 
- App-ID version number.
- automaticUpgrade booleanApp Id Version 
- Automatic App-ID upgrade version number.
- description string
- The description.
- endpointMode string
- Set endpoint mode from the following options. Valid values are ServiceManagedorCustomerManaged.
- endpointService stringName 
- The endpoint service name.
- firewallId string
- The Id of the NGFW.
- globalRulestack string
- The global rulestack for this NGFW.
- id string
- The provider-assigned unique ID for this managed resource.
- linkId string
- The link ID.
- linkStatus string
- The link status.
- multiVpc boolean
- Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- name string
- The NGFW name.
- rulestack string
- The rulestack for this NGFW.
- statuses
GetNgfw Status[] 
- subnetMappings GetNgfw Subnet Mapping[] 
- Subnet mappings.
- {[key: string]: string}
- The tags.
- updateToken string
- The update token.
- vpcId string
- The vpc id.
- accountId string
- The account ID. This field is mandatory if using multiple accounts.
- app_id_ strversion 
- App-ID version number.
- automatic_upgrade_ boolapp_ id_ version 
- Automatic App-ID upgrade version number.
- description str
- The description.
- endpoint_mode str
- Set endpoint mode from the following options. Valid values are ServiceManagedorCustomerManaged.
- endpoint_service_ strname 
- The endpoint service name.
- firewall_id str
- The Id of the NGFW.
- global_rulestack str
- The global rulestack for this NGFW.
- id str
- The provider-assigned unique ID for this managed resource.
- link_id str
- The link ID.
- link_status str
- The link status.
- multi_vpc bool
- Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- name str
- The NGFW name.
- rulestack str
- The rulestack for this NGFW.
- statuses
Sequence[GetNgfw Status] 
- subnet_mappings Sequence[GetNgfw Subnet Mapping] 
- Subnet mappings.
- Mapping[str, str]
- The tags.
- update_token str
- The update token.
- vpc_id str
- The vpc id.
- account_id str
- The account ID. This field is mandatory if using multiple accounts.
- appId StringVersion 
- App-ID version number.
- automaticUpgrade BooleanApp Id Version 
- Automatic App-ID upgrade version number.
- description String
- The description.
- endpointMode String
- Set endpoint mode from the following options. Valid values are ServiceManagedorCustomerManaged.
- endpointService StringName 
- The endpoint service name.
- firewallId String
- The Id of the NGFW.
- globalRulestack String
- The global rulestack for this NGFW.
- id String
- The provider-assigned unique ID for this managed resource.
- linkId String
- The link ID.
- linkStatus String
- The link status.
- multiVpc Boolean
- Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- name String
- The NGFW name.
- rulestack String
- The rulestack for this NGFW.
- statuses List<Property Map>
- subnetMappings List<Property Map>
- Subnet mappings.
- Map<String>
- The tags.
- updateToken String
- The update token.
- vpcId String
- The vpc id.
- accountId String
- The account ID. This field is mandatory if using multiple accounts.
Supporting Types
GetNgfwStatus  
- Attachments
List<Pulumi.Cloud Ngfw Aws. Inputs. Get Ngfw Status Attachment> 
- The firewall attachments.
- FailureReason string
- The firewall failure reason.
- FirewallStatus string
- The firewall status.
- RulestackStatus string
- The rulestack status.
- Attachments
[]GetNgfw Status Attachment 
- The firewall attachments.
- FailureReason string
- The firewall failure reason.
- FirewallStatus string
- The firewall status.
- RulestackStatus string
- The rulestack status.
- attachments
List<GetNgfw Status Attachment> 
- The firewall attachments.
- failureReason String
- The firewall failure reason.
- firewallStatus String
- The firewall status.
- rulestackStatus String
- The rulestack status.
- attachments
GetNgfw Status Attachment[] 
- The firewall attachments.
- failureReason string
- The firewall failure reason.
- firewallStatus string
- The firewall status.
- rulestackStatus string
- The rulestack status.
- attachments
Sequence[GetNgfw Status Attachment] 
- The firewall attachments.
- failure_reason str
- The firewall failure reason.
- firewall_status str
- The firewall status.
- rulestack_status str
- The rulestack status.
- attachments List<Property Map>
- The firewall attachments.
- failureReason String
- The firewall failure reason.
- firewallStatus String
- The firewall status.
- rulestackStatus String
- The rulestack status.
GetNgfwStatusAttachment   
- EndpointId string
- The endpoint id.
- RejectedReason string
- The reject reason.
- Status string
- The attachment status.
- SubnetId string
- The subnet id.
- EndpointId string
- The endpoint id.
- RejectedReason string
- The reject reason.
- Status string
- The attachment status.
- SubnetId string
- The subnet id.
- endpointId String
- The endpoint id.
- rejectedReason String
- The reject reason.
- status String
- The attachment status.
- subnetId String
- The subnet id.
- endpointId string
- The endpoint id.
- rejectedReason string
- The reject reason.
- status string
- The attachment status.
- subnetId string
- The subnet id.
- endpoint_id str
- The endpoint id.
- rejected_reason str
- The reject reason.
- status str
- The attachment status.
- subnet_id str
- The subnet id.
- endpointId String
- The endpoint id.
- rejectedReason String
- The reject reason.
- status String
- The attachment status.
- subnetId String
- The subnet id.
GetNgfwSubnetMapping   
- AvailabilityZone string
- The availability zone, for when the endpoint mode is customer managed.
- AvailabilityZone stringId 
- The availability zone ID, for when the endpoint mode is customer managed.
- SubnetId string
- The subnet id, for when the endpoint mode is service managed.
- AvailabilityZone string
- The availability zone, for when the endpoint mode is customer managed.
- AvailabilityZone stringId 
- The availability zone ID, for when the endpoint mode is customer managed.
- SubnetId string
- The subnet id, for when the endpoint mode is service managed.
- availabilityZone String
- The availability zone, for when the endpoint mode is customer managed.
- availabilityZone StringId 
- The availability zone ID, for when the endpoint mode is customer managed.
- subnetId String
- The subnet id, for when the endpoint mode is service managed.
- availabilityZone string
- The availability zone, for when the endpoint mode is customer managed.
- availabilityZone stringId 
- The availability zone ID, for when the endpoint mode is customer managed.
- subnetId string
- The subnet id, for when the endpoint mode is service managed.
- availability_zone str
- The availability zone, for when the endpoint mode is customer managed.
- availability_zone_ strid 
- The availability zone ID, for when the endpoint mode is customer managed.
- subnet_id str
- The subnet id, for when the endpoint mode is service managed.
- availabilityZone String
- The availability zone, for when the endpoint mode is customer managed.
- availabilityZone StringId 
- The availability zone ID, for when the endpoint mode is customer managed.
- subnetId String
- The subnet id, for when the endpoint mode is service managed.
Package Details
- Repository
- cloudngfwaws pulumi/pulumi-cloudngfwaws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cloudngfwawsTerraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi