1. Packages
  2. Palo Alto Networks Cloud NGFW For AWS Provider
  3. API Docs
  4. NgfwLogProfile
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

cloudngfwaws.NgfwLogProfile

Explore with Pulumi AI

cloudngfwaws logo
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

    Resource for NGFW log profile manipulation.

    Admin Permission Type

    • Firewall

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    import * as cloudngfwaws from "@pulumi/cloudngfwaws";
    
    const exampleVpc = new aws.index.Vpc("example", {
        cidrBlock: "172.16.0.0/16",
        tags: {
            name: "tf-example",
        },
    });
    const subnet1 = new aws.index.Subnet("subnet1", {
        vpcId: myVpc.id,
        cidrBlock: "172.16.10.0/24",
        availabilityZone: "us-west-2a",
        tags: {
            name: "tf-example",
        },
    });
    const subnet2 = new aws.index.Subnet("subnet2", {
        vpcId: myVpc.id,
        cidrBlock: "172.16.20.0/24",
        availabilityZone: "us-west-2b",
        tags: {
            name: "tf-example",
        },
    });
    const x = new cloudngfwaws.Ngfw("x", {
        name: "example-instance",
        vpcId: exampleVpc.id,
        accountId: "12345678",
        description: "Example description",
        endpointMode: "ServiceManaged",
        subnetMappings: [
            {
                subnetId: subnet1.id,
            },
            {
                subnetId: subnet2.id,
            },
        ],
        rulestack: "example-rulestack",
        tags: {
            Foo: "bar",
        },
    });
    const example = new cloudngfwaws.NgfwLogProfile("example", {
        ngfw: x.name,
        accountId: x.accountId,
        logDestinations: [
            {
                destinationType: "S3",
                destination: "my-s3-bucket",
                logType: "TRAFFIC",
            },
            {
                destinationType: "CloudWatchLogs",
                destination: "panw-log-group",
                logType: "THREAT",
            },
        ],
    });
    
    import pulumi
    import pulumi_aws as aws
    import pulumi_cloudngfwaws as cloudngfwaws
    
    example_vpc = aws.index.Vpc("example",
        cidr_block=172.16.0.0/16,
        tags={
            name: tf-example,
        })
    subnet1 = aws.index.Subnet("subnet1",
        vpc_id=my_vpc.id,
        cidr_block=172.16.10.0/24,
        availability_zone=us-west-2a,
        tags={
            name: tf-example,
        })
    subnet2 = aws.index.Subnet("subnet2",
        vpc_id=my_vpc.id,
        cidr_block=172.16.20.0/24,
        availability_zone=us-west-2b,
        tags={
            name: tf-example,
        })
    x = cloudngfwaws.Ngfw("x",
        name="example-instance",
        vpc_id=example_vpc["id"],
        account_id="12345678",
        description="Example description",
        endpoint_mode="ServiceManaged",
        subnet_mappings=[
            {
                "subnet_id": subnet1["id"],
            },
            {
                "subnet_id": subnet2["id"],
            },
        ],
        rulestack="example-rulestack",
        tags={
            "Foo": "bar",
        })
    example = cloudngfwaws.NgfwLogProfile("example",
        ngfw=x.name,
        account_id=x.account_id,
        log_destinations=[
            {
                "destination_type": "S3",
                "destination": "my-s3-bucket",
                "log_type": "TRAFFIC",
            },
            {
                "destination_type": "CloudWatchLogs",
                "destination": "panw-log-group",
                "log_type": "THREAT",
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/go/aws"
    	"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 {
    		exampleVpc, err := aws.NewVpc(ctx, "example", &aws.VpcArgs{
    			CidrBlock: "172.16.0.0/16",
    			Tags: map[string]interface{}{
    				"name": "tf-example",
    			},
    		})
    		if err != nil {
    			return err
    		}
    		subnet1, err := aws.NewSubnet(ctx, "subnet1", &aws.SubnetArgs{
    			VpcId:            myVpc.Id,
    			CidrBlock:        "172.16.10.0/24",
    			AvailabilityZone: "us-west-2a",
    			Tags: map[string]interface{}{
    				"name": "tf-example",
    			},
    		})
    		if err != nil {
    			return err
    		}
    		subnet2, err := aws.NewSubnet(ctx, "subnet2", &aws.SubnetArgs{
    			VpcId:            myVpc.Id,
    			CidrBlock:        "172.16.20.0/24",
    			AvailabilityZone: "us-west-2b",
    			Tags: map[string]interface{}{
    				"name": "tf-example",
    			},
    		})
    		if err != nil {
    			return err
    		}
    		x, err := cloudngfwaws.NewNgfw(ctx, "x", &cloudngfwaws.NgfwArgs{
    			Name:         pulumi.String("example-instance"),
    			VpcId:        exampleVpc.Id,
    			AccountId:    pulumi.String("12345678"),
    			Description:  pulumi.String("Example description"),
    			EndpointMode: pulumi.String("ServiceManaged"),
    			SubnetMappings: cloudngfwaws.NgfwSubnetMappingArray{
    				&cloudngfwaws.NgfwSubnetMappingArgs{
    					SubnetId: subnet1.Id,
    				},
    				&cloudngfwaws.NgfwSubnetMappingArgs{
    					SubnetId: subnet2.Id,
    				},
    			},
    			Rulestack: pulumi.String("example-rulestack"),
    			Tags: pulumi.StringMap{
    				"Foo": pulumi.String("bar"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cloudngfwaws.NewNgfwLogProfile(ctx, "example", &cloudngfwaws.NgfwLogProfileArgs{
    			Ngfw:      x.Name,
    			AccountId: x.AccountId,
    			LogDestinations: cloudngfwaws.NgfwLogProfileLogDestinationArray{
    				&cloudngfwaws.NgfwLogProfileLogDestinationArgs{
    					DestinationType: pulumi.String("S3"),
    					Destination:     pulumi.String("my-s3-bucket"),
    					LogType:         pulumi.String("TRAFFIC"),
    				},
    				&cloudngfwaws.NgfwLogProfileLogDestinationArgs{
    					DestinationType: pulumi.String("CloudWatchLogs"),
    					Destination:     pulumi.String("panw-log-group"),
    					LogType:         pulumi.String("THREAT"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    using CloudNgfwAws = Pulumi.CloudNgfwAws;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleVpc = new Aws.Index.Vpc("example", new()
        {
            CidrBlock = "172.16.0.0/16",
            Tags = 
            {
                { "name", "tf-example" },
            },
        });
    
        var subnet1 = new Aws.Index.Subnet("subnet1", new()
        {
            VpcId = myVpc.Id,
            CidrBlock = "172.16.10.0/24",
            AvailabilityZone = "us-west-2a",
            Tags = 
            {
                { "name", "tf-example" },
            },
        });
    
        var subnet2 = new Aws.Index.Subnet("subnet2", new()
        {
            VpcId = myVpc.Id,
            CidrBlock = "172.16.20.0/24",
            AvailabilityZone = "us-west-2b",
            Tags = 
            {
                { "name", "tf-example" },
            },
        });
    
        var x = new CloudNgfwAws.Ngfw("x", new()
        {
            Name = "example-instance",
            VpcId = exampleVpc.Id,
            AccountId = "12345678",
            Description = "Example description",
            EndpointMode = "ServiceManaged",
            SubnetMappings = new[]
            {
                new CloudNgfwAws.Inputs.NgfwSubnetMappingArgs
                {
                    SubnetId = subnet1.Id,
                },
                new CloudNgfwAws.Inputs.NgfwSubnetMappingArgs
                {
                    SubnetId = subnet2.Id,
                },
            },
            Rulestack = "example-rulestack",
            Tags = 
            {
                { "Foo", "bar" },
            },
        });
    
        var example = new CloudNgfwAws.NgfwLogProfile("example", new()
        {
            Ngfw = x.Name,
            AccountId = x.AccountId,
            LogDestinations = new[]
            {
                new CloudNgfwAws.Inputs.NgfwLogProfileLogDestinationArgs
                {
                    DestinationType = "S3",
                    Destination = "my-s3-bucket",
                    LogType = "TRAFFIC",
                },
                new CloudNgfwAws.Inputs.NgfwLogProfileLogDestinationArgs
                {
                    DestinationType = "CloudWatchLogs",
                    Destination = "panw-log-group",
                    LogType = "THREAT",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.vpc;
    import com.pulumi.aws.VpcArgs;
    import com.pulumi.aws.subnet;
    import com.pulumi.aws.SubnetArgs;
    import com.pulumi.cloudngfwaws.Ngfw;
    import com.pulumi.cloudngfwaws.NgfwArgs;
    import com.pulumi.cloudngfwaws.inputs.NgfwSubnetMappingArgs;
    import com.pulumi.cloudngfwaws.NgfwLogProfile;
    import com.pulumi.cloudngfwaws.NgfwLogProfileArgs;
    import com.pulumi.cloudngfwaws.inputs.NgfwLogProfileLogDestinationArgs;
    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) {
            var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()
                .cidrBlock("172.16.0.0/16")
                .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .build());
    
            var subnet1 = new Subnet("subnet1", SubnetArgs.builder()
                .vpcId(myVpc.id())
                .cidrBlock("172.16.10.0/24")
                .availabilityZone("us-west-2a")
                .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .build());
    
            var subnet2 = new Subnet("subnet2", SubnetArgs.builder()
                .vpcId(myVpc.id())
                .cidrBlock("172.16.20.0/24")
                .availabilityZone("us-west-2b")
                .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .build());
    
            var x = new Ngfw("x", NgfwArgs.builder()
                .name("example-instance")
                .vpcId(exampleVpc.id())
                .accountId("12345678")
                .description("Example description")
                .endpointMode("ServiceManaged")
                .subnetMappings(            
                    NgfwSubnetMappingArgs.builder()
                        .subnetId(subnet1.id())
                        .build(),
                    NgfwSubnetMappingArgs.builder()
                        .subnetId(subnet2.id())
                        .build())
                .rulestack("example-rulestack")
                .tags(Map.of("Foo", "bar"))
                .build());
    
            var example = new NgfwLogProfile("example", NgfwLogProfileArgs.builder()
                .ngfw(x.name())
                .accountId(x.accountId())
                .logDestinations(            
                    NgfwLogProfileLogDestinationArgs.builder()
                        .destinationType("S3")
                        .destination("my-s3-bucket")
                        .logType("TRAFFIC")
                        .build(),
                    NgfwLogProfileLogDestinationArgs.builder()
                        .destinationType("CloudWatchLogs")
                        .destination("panw-log-group")
                        .logType("THREAT")
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: cloudngfwaws:NgfwLogProfile
        properties:
          ngfw: ${x.name}
          accountId: ${x.accountId}
          logDestinations:
            - destinationType: S3
              destination: my-s3-bucket
              logType: TRAFFIC
            - destinationType: CloudWatchLogs
              destination: panw-log-group
              logType: THREAT
      x:
        type: cloudngfwaws:Ngfw
        properties:
          name: example-instance
          vpcId: ${exampleVpc.id}
          accountId: '12345678'
          description: Example description
          endpointMode: ServiceManaged
          subnetMappings:
            - subnetId: ${subnet1.id}
            - subnetId: ${subnet2.id}
          rulestack: example-rulestack
          tags:
            Foo: bar
      exampleVpc:
        type: aws:vpc
        name: example
        properties:
          cidrBlock: 172.16.0.0/16
          tags:
            name: tf-example
      subnet1:
        type: aws:subnet
        properties:
          vpcId: ${myVpc.id}
          cidrBlock: 172.16.10.0/24
          availabilityZone: us-west-2a
          tags:
            name: tf-example
      subnet2:
        type: aws:subnet
        properties:
          vpcId: ${myVpc.id}
          cidrBlock: 172.16.20.0/24
          availabilityZone: us-west-2b
          tags:
            name: tf-example
    

    Create NgfwLogProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NgfwLogProfile(name: string, args: NgfwLogProfileArgs, opts?: CustomResourceOptions);
    @overload
    def NgfwLogProfile(resource_name: str,
                       args: NgfwLogProfileArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def NgfwLogProfile(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_id: Optional[str] = None,
                       log_destinations: Optional[Sequence[NgfwLogProfileLogDestinationArgs]] = None,
                       ngfw: Optional[str] = None,
                       advanced_threat_log: Optional[bool] = None,
                       cloud_watch_metric_namespace: Optional[str] = None,
                       cloudwatch_metric_fields: Optional[Sequence[str]] = None)
    func NewNgfwLogProfile(ctx *Context, name string, args NgfwLogProfileArgs, opts ...ResourceOption) (*NgfwLogProfile, error)
    public NgfwLogProfile(string name, NgfwLogProfileArgs args, CustomResourceOptions? opts = null)
    public NgfwLogProfile(String name, NgfwLogProfileArgs args)
    public NgfwLogProfile(String name, NgfwLogProfileArgs args, CustomResourceOptions options)
    
    type: cloudngfwaws:NgfwLogProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NgfwLogProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NgfwLogProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NgfwLogProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NgfwLogProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NgfwLogProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ngfwLogProfileResource = new CloudNgfwAws.NgfwLogProfile("ngfwLogProfileResource", new()
    {
        AccountId = "string",
        LogDestinations = new[]
        {
            new CloudNgfwAws.Inputs.NgfwLogProfileLogDestinationArgs
            {
                Destination = "string",
                DestinationType = "string",
                LogType = "string",
            },
        },
        Ngfw = "string",
        AdvancedThreatLog = false,
        CloudWatchMetricNamespace = "string",
        CloudwatchMetricFields = new[]
        {
            "string",
        },
    });
    
    example, err := cloudngfwaws.NewNgfwLogProfile(ctx, "ngfwLogProfileResource", &cloudngfwaws.NgfwLogProfileArgs{
    	AccountId: pulumi.String("string"),
    	LogDestinations: cloudngfwaws.NgfwLogProfileLogDestinationArray{
    		&cloudngfwaws.NgfwLogProfileLogDestinationArgs{
    			Destination:     pulumi.String("string"),
    			DestinationType: pulumi.String("string"),
    			LogType:         pulumi.String("string"),
    		},
    	},
    	Ngfw:                      pulumi.String("string"),
    	AdvancedThreatLog:         pulumi.Bool(false),
    	CloudWatchMetricNamespace: pulumi.String("string"),
    	CloudwatchMetricFields: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var ngfwLogProfileResource = new NgfwLogProfile("ngfwLogProfileResource", NgfwLogProfileArgs.builder()
        .accountId("string")
        .logDestinations(NgfwLogProfileLogDestinationArgs.builder()
            .destination("string")
            .destinationType("string")
            .logType("string")
            .build())
        .ngfw("string")
        .advancedThreatLog(false)
        .cloudWatchMetricNamespace("string")
        .cloudwatchMetricFields("string")
        .build());
    
    ngfw_log_profile_resource = cloudngfwaws.NgfwLogProfile("ngfwLogProfileResource",
        account_id="string",
        log_destinations=[{
            "destination": "string",
            "destination_type": "string",
            "log_type": "string",
        }],
        ngfw="string",
        advanced_threat_log=False,
        cloud_watch_metric_namespace="string",
        cloudwatch_metric_fields=["string"])
    
    const ngfwLogProfileResource = new cloudngfwaws.NgfwLogProfile("ngfwLogProfileResource", {
        accountId: "string",
        logDestinations: [{
            destination: "string",
            destinationType: "string",
            logType: "string",
        }],
        ngfw: "string",
        advancedThreatLog: false,
        cloudWatchMetricNamespace: "string",
        cloudwatchMetricFields: ["string"],
    });
    
    type: cloudngfwaws:NgfwLogProfile
    properties:
        accountId: string
        advancedThreatLog: false
        cloudWatchMetricNamespace: string
        cloudwatchMetricFields:
            - string
        logDestinations:
            - destination: string
              destinationType: string
              logType: string
        ngfw: string
    

    NgfwLogProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NgfwLogProfile resource accepts the following input properties:

    AccountId string
    The unique ID of the account.
    LogDestinations List<Pulumi.CloudNgfwAws.Inputs.NgfwLogProfileLogDestination>
    List of log destinations.
    Ngfw string
    The name of the NGFW.
    AdvancedThreatLog bool
    Enable advanced threat logging.
    CloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    CloudwatchMetricFields List<string>
    Cloudwatch metric fields.
    AccountId string
    The unique ID of the account.
    LogDestinations []NgfwLogProfileLogDestinationArgs
    List of log destinations.
    Ngfw string
    The name of the NGFW.
    AdvancedThreatLog bool
    Enable advanced threat logging.
    CloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    CloudwatchMetricFields []string
    Cloudwatch metric fields.
    accountId String
    The unique ID of the account.
    logDestinations List<NgfwLogProfileLogDestination>
    List of log destinations.
    ngfw String
    The name of the NGFW.
    advancedThreatLog Boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace String
    The CloudWatch metric namespace.
    cloudwatchMetricFields List<String>
    Cloudwatch metric fields.
    accountId string
    The unique ID of the account.
    logDestinations NgfwLogProfileLogDestination[]
    List of log destinations.
    ngfw string
    The name of the NGFW.
    advancedThreatLog boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    cloudwatchMetricFields string[]
    Cloudwatch metric fields.
    account_id str
    The unique ID of the account.
    log_destinations Sequence[NgfwLogProfileLogDestinationArgs]
    List of log destinations.
    ngfw str
    The name of the NGFW.
    advanced_threat_log bool
    Enable advanced threat logging.
    cloud_watch_metric_namespace str
    The CloudWatch metric namespace.
    cloudwatch_metric_fields Sequence[str]
    Cloudwatch metric fields.
    accountId String
    The unique ID of the account.
    logDestinations List<Property Map>
    List of log destinations.
    ngfw String
    The name of the NGFW.
    advancedThreatLog Boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace String
    The CloudWatch metric namespace.
    cloudwatchMetricFields List<String>
    Cloudwatch metric fields.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NgfwLogProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NgfwLogProfile Resource

    Get an existing NgfwLogProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NgfwLogProfileState, opts?: CustomResourceOptions): NgfwLogProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            advanced_threat_log: Optional[bool] = None,
            cloud_watch_metric_namespace: Optional[str] = None,
            cloudwatch_metric_fields: Optional[Sequence[str]] = None,
            log_destinations: Optional[Sequence[NgfwLogProfileLogDestinationArgs]] = None,
            ngfw: Optional[str] = None) -> NgfwLogProfile
    func GetNgfwLogProfile(ctx *Context, name string, id IDInput, state *NgfwLogProfileState, opts ...ResourceOption) (*NgfwLogProfile, error)
    public static NgfwLogProfile Get(string name, Input<string> id, NgfwLogProfileState? state, CustomResourceOptions? opts = null)
    public static NgfwLogProfile get(String name, Output<String> id, NgfwLogProfileState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The unique ID of the account.
    AdvancedThreatLog bool
    Enable advanced threat logging.
    CloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    CloudwatchMetricFields List<string>
    Cloudwatch metric fields.
    LogDestinations List<Pulumi.CloudNgfwAws.Inputs.NgfwLogProfileLogDestination>
    List of log destinations.
    Ngfw string
    The name of the NGFW.
    AccountId string
    The unique ID of the account.
    AdvancedThreatLog bool
    Enable advanced threat logging.
    CloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    CloudwatchMetricFields []string
    Cloudwatch metric fields.
    LogDestinations []NgfwLogProfileLogDestinationArgs
    List of log destinations.
    Ngfw string
    The name of the NGFW.
    accountId String
    The unique ID of the account.
    advancedThreatLog Boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace String
    The CloudWatch metric namespace.
    cloudwatchMetricFields List<String>
    Cloudwatch metric fields.
    logDestinations List<NgfwLogProfileLogDestination>
    List of log destinations.
    ngfw String
    The name of the NGFW.
    accountId string
    The unique ID of the account.
    advancedThreatLog boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    cloudwatchMetricFields string[]
    Cloudwatch metric fields.
    logDestinations NgfwLogProfileLogDestination[]
    List of log destinations.
    ngfw string
    The name of the NGFW.
    account_id str
    The unique ID of the account.
    advanced_threat_log bool
    Enable advanced threat logging.
    cloud_watch_metric_namespace str
    The CloudWatch metric namespace.
    cloudwatch_metric_fields Sequence[str]
    Cloudwatch metric fields.
    log_destinations Sequence[NgfwLogProfileLogDestinationArgs]
    List of log destinations.
    ngfw str
    The name of the NGFW.
    accountId String
    The unique ID of the account.
    advancedThreatLog Boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace String
    The CloudWatch metric namespace.
    cloudwatchMetricFields List<String>
    Cloudwatch metric fields.
    logDestinations List<Property Map>
    List of log destinations.
    ngfw String
    The name of the NGFW.

    Supporting Types

    NgfwLogProfileLogDestination, NgfwLogProfileLogDestinationArgs

    Destination string
    The log destination details.
    DestinationType string
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    LogType string
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    Destination string
    The log destination details.
    DestinationType string
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    LogType string
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    destination String
    The log destination details.
    destinationType String
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    logType String
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    destination string
    The log destination details.
    destinationType string
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    logType string
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    destination str
    The log destination details.
    destination_type str
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    log_type str
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    destination String
    The log destination details.
    destinationType String
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    logType String
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.

    Import

    import name is <account_id>:

    $ pulumi import cloudngfwaws:index/ngfwLogProfile:NgfwLogProfile example 12345678:example-instance
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    cloudngfwaws pulumi/pulumi-cloudngfwaws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudngfwaws Terraform Provider.
    cloudngfwaws logo
    Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi