Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi
cloudngfwaws.getNgfwLogProfile
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 log profile information.
Admin Permission Type
- Firewall
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const example = cloudngfwaws.getNgfwLogProfile({
    ngfw: "example-instance",
    accountId: "123456789",
});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.get_ngfw_log_profile(ngfw="example-instance",
    account_id="123456789")
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.LookupNgfwLogProfile(ctx, &cloudngfwaws.LookupNgfwLogProfileArgs{
			Ngfw:      "example-instance",
			AccountId: "123456789",
		}, 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.GetNgfwLogProfile.Invoke(new()
    {
        Ngfw = "example-instance",
        AccountId = "123456789",
    });
});
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.GetNgfwLogProfileArgs;
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.getNgfwLogProfile(GetNgfwLogProfileArgs.builder()
            .ngfw("example-instance")
            .accountId("123456789")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: cloudngfwaws:getNgfwLogProfile
      arguments:
        ngfw: example-instance
        accountId: '123456789'
Using getNgfwLogProfile
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 getNgfwLogProfile(args: GetNgfwLogProfileArgs, opts?: InvokeOptions): Promise<GetNgfwLogProfileResult>
function getNgfwLogProfileOutput(args: GetNgfwLogProfileOutputArgs, opts?: InvokeOptions): Output<GetNgfwLogProfileResult>def get_ngfw_log_profile(account_id: Optional[str] = None,
                         ngfw: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetNgfwLogProfileResult
def get_ngfw_log_profile_output(account_id: Optional[pulumi.Input[str]] = None,
                         ngfw: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetNgfwLogProfileResult]func LookupNgfwLogProfile(ctx *Context, args *LookupNgfwLogProfileArgs, opts ...InvokeOption) (*LookupNgfwLogProfileResult, error)
func LookupNgfwLogProfileOutput(ctx *Context, args *LookupNgfwLogProfileOutputArgs, opts ...InvokeOption) LookupNgfwLogProfileResultOutput> Note: This function is named LookupNgfwLogProfile in the Go SDK.
public static class GetNgfwLogProfile 
{
    public static Task<GetNgfwLogProfileResult> InvokeAsync(GetNgfwLogProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetNgfwLogProfileResult> Invoke(GetNgfwLogProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNgfwLogProfileResult> getNgfwLogProfile(GetNgfwLogProfileArgs args, InvokeOptions options)
public static Output<GetNgfwLogProfileResult> getNgfwLogProfile(GetNgfwLogProfileArgs args, InvokeOptions options)
fn::invoke:
  function: cloudngfwaws:index/getNgfwLogProfile:getNgfwLogProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- account_id str
- The unique ID of the account.
- ngfw str
- The name of the NGFW.
getNgfwLogProfile Result
The following output properties are available:
- AccountId string
- The unique ID of the account.
- AdvancedThreat boolLog 
- Enable advanced threat logging.
- CloudWatch stringMetric Namespace 
- The CloudWatch metric namespace.
- CloudwatchMetric List<string>Fields 
- Cloudwatch metric fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- LogDestinations List<Pulumi.Cloud Ngfw Aws. Outputs. Get Ngfw Log Profile Log Destination> 
- List of log destinations.
- Ngfw string
- The name of the NGFW.
- AccountId string
- The unique ID of the account.
- AdvancedThreat boolLog 
- Enable advanced threat logging.
- CloudWatch stringMetric Namespace 
- The CloudWatch metric namespace.
- CloudwatchMetric []stringFields 
- Cloudwatch metric fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- LogDestinations []GetNgfw Log Profile Log Destination 
- List of log destinations.
- Ngfw string
- The name of the NGFW.
- accountId String
- The unique ID of the account.
- advancedThreat BooleanLog 
- Enable advanced threat logging.
- cloudWatch StringMetric Namespace 
- The CloudWatch metric namespace.
- cloudwatchMetric List<String>Fields 
- Cloudwatch metric fields.
- id String
- The provider-assigned unique ID for this managed resource.
- logDestinations List<GetNgfw Log Profile Log Destination> 
- List of log destinations.
- ngfw String
- The name of the NGFW.
- accountId string
- The unique ID of the account.
- advancedThreat booleanLog 
- Enable advanced threat logging.
- cloudWatch stringMetric Namespace 
- The CloudWatch metric namespace.
- cloudwatchMetric string[]Fields 
- Cloudwatch metric fields.
- id string
- The provider-assigned unique ID for this managed resource.
- logDestinations GetNgfw Log Profile Log Destination[] 
- List of log destinations.
- ngfw string
- The name of the NGFW.
- account_id str
- The unique ID of the account.
- advanced_threat_ boollog 
- Enable advanced threat logging.
- cloud_watch_ strmetric_ namespace 
- The CloudWatch metric namespace.
- cloudwatch_metric_ Sequence[str]fields 
- Cloudwatch metric fields.
- id str
- The provider-assigned unique ID for this managed resource.
- log_destinations Sequence[GetNgfw Log Profile Log Destination] 
- List of log destinations.
- ngfw str
- The name of the NGFW.
- accountId String
- The unique ID of the account.
- advancedThreat BooleanLog 
- Enable advanced threat logging.
- cloudWatch StringMetric Namespace 
- The CloudWatch metric namespace.
- cloudwatchMetric List<String>Fields 
- Cloudwatch metric fields.
- id String
- The provider-assigned unique ID for this managed resource.
- logDestinations List<Property Map>
- List of log destinations.
- ngfw String
- The name of the NGFW.
Supporting Types
GetNgfwLogProfileLogDestination     
- Destination string
- The log destination details.
- DestinationType string
- The log destination type. Valid values are S3,CloudWatchLogs, orKinesisDataFirehose.
- LogType string
- The type of logs. Valid values are TRAFFIC,THREAT, orDECRYPTION.
- Destination string
- The log destination details.
- DestinationType string
- The log destination type. Valid values are S3,CloudWatchLogs, orKinesisDataFirehose.
- LogType string
- The type of logs. Valid values are TRAFFIC,THREAT, orDECRYPTION.
- destination String
- The log destination details.
- destinationType String
- The log destination type. Valid values are S3,CloudWatchLogs, orKinesisDataFirehose.
- logType String
- The type of logs. Valid values are TRAFFIC,THREAT, orDECRYPTION.
- destination string
- The log destination details.
- destinationType string
- The log destination type. Valid values are S3,CloudWatchLogs, orKinesisDataFirehose.
- logType string
- The type of logs. Valid values are TRAFFIC,THREAT, orDECRYPTION.
- destination str
- The log destination details.
- destination_type str
- The log destination type. Valid values are S3,CloudWatchLogs, orKinesisDataFirehose.
- log_type str
- The type of logs. Valid values are TRAFFIC,THREAT, orDECRYPTION.
- destination String
- The log destination details.
- destinationType String
- The log destination type. Valid values are S3,CloudWatchLogs, orKinesisDataFirehose.
- logType String
- The type of logs. Valid values are TRAFFIC,THREAT, orDECRYPTION.
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