cloudngfwaws.NgfwLogProfile
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 x = new cloudngfwaws.Ngfw("x", {
name: "example-instance",
description: "Example description",
endpoints: [{
subnetId: subnet1.id,
mode: "ServiceManaged",
vpcId: exampleVpc.id,
accountId: "12345678",
}],
rulestack: "example-rulestack",
tags: {
Foo: "bar",
},
});
const example = new cloudngfwaws.NgfwLogProfile("example", {
firewallId: x.firewallId,
accountId: x.accountId,
advancedThreatLog: true,
cloudwatchMetricFields: [
"Dataplane_CPU_Utilization",
"Session_Throughput_Kbps",
"BytesIn",
"BytesOut",
],
cloudWatchMetricNamespace: "PaloAltoCloudNGFW",
logConfig: {
logDestination: "my-s3-bucket",
logDestinationType: "S3",
logTypes: ["TRAFFIC"],
accountId: "251583708250",
roleType: "IamBased",
},
});
const subnet2 = new aws.index.Subnet("subnet2", {
vpcId: myVpc.id,
cidrBlock: "172.16.20.0/24",
availabilityZone: "us-west-2b",
tags: {
name: "tf-example",
},
});
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,
})
x = cloudngfwaws.Ngfw("x",
name="example-instance",
description="Example description",
endpoints=[{
"subnet_id": subnet1["id"],
"mode": "ServiceManaged",
"vpc_id": example_vpc["id"],
"account_id": "12345678",
}],
rulestack="example-rulestack",
tags={
"Foo": "bar",
})
example = cloudngfwaws.NgfwLogProfile("example",
firewall_id=x.firewall_id,
account_id=x.account_id,
advanced_threat_log=True,
cloudwatch_metric_fields=[
"Dataplane_CPU_Utilization",
"Session_Throughput_Kbps",
"BytesIn",
"BytesOut",
],
cloud_watch_metric_namespace="PaloAltoCloudNGFW",
log_config={
"log_destination": "my-s3-bucket",
"log_destination_type": "S3",
"log_types": ["TRAFFIC"],
"account_id": "251583708250",
"role_type": "IamBased",
})
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,
})
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
}
x, err := cloudngfwaws.NewNgfw(ctx, "x", &cloudngfwaws.NgfwArgs{
Name: pulumi.String("example-instance"),
Description: pulumi.String("Example description"),
Endpoints: cloudngfwaws.NgfwEndpointArray{
&cloudngfwaws.NgfwEndpointArgs{
SubnetId: subnet1.Id,
Mode: pulumi.String("ServiceManaged"),
VpcId: exampleVpc.Id,
AccountId: pulumi.String("12345678"),
},
},
Rulestack: pulumi.String("example-rulestack"),
Tags: pulumi.StringMap{
"Foo": pulumi.String("bar"),
},
})
if err != nil {
return err
}
_, err = cloudngfwaws.NewNgfwLogProfile(ctx, "example", &cloudngfwaws.NgfwLogProfileArgs{
FirewallId: x.FirewallId,
AccountId: x.AccountId,
AdvancedThreatLog: pulumi.Bool(true),
CloudwatchMetricFields: pulumi.StringArray{
pulumi.String("Dataplane_CPU_Utilization"),
pulumi.String("Session_Throughput_Kbps"),
pulumi.String("BytesIn"),
pulumi.String("BytesOut"),
},
CloudWatchMetricNamespace: pulumi.String("PaloAltoCloudNGFW"),
LogConfig: &cloudngfwaws.NgfwLogProfileLogConfigArgs{
LogDestination: pulumi.String("my-s3-bucket"),
LogDestinationType: pulumi.String("S3"),
LogTypes: pulumi.StringArray{
pulumi.String("TRAFFIC"),
},
AccountId: pulumi.String("251583708250"),
RoleType: pulumi.String("IamBased"),
},
})
if err != nil {
return err
}
_, 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
}
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 x = new CloudNgfwAws.Ngfw("x", new()
{
Name = "example-instance",
Description = "Example description",
Endpoints = new[]
{
new CloudNgfwAws.Inputs.NgfwEndpointArgs
{
SubnetId = subnet1.Id,
Mode = "ServiceManaged",
VpcId = exampleVpc.Id,
AccountId = "12345678",
},
},
Rulestack = "example-rulestack",
Tags =
{
{ "Foo", "bar" },
},
});
var example = new CloudNgfwAws.NgfwLogProfile("example", new()
{
FirewallId = x.FirewallId,
AccountId = x.AccountId,
AdvancedThreatLog = true,
CloudwatchMetricFields = new[]
{
"Dataplane_CPU_Utilization",
"Session_Throughput_Kbps",
"BytesIn",
"BytesOut",
},
CloudWatchMetricNamespace = "PaloAltoCloudNGFW",
LogConfig = new CloudNgfwAws.Inputs.NgfwLogProfileLogConfigArgs
{
LogDestination = "my-s3-bucket",
LogDestinationType = "S3",
LogTypes = new[]
{
"TRAFFIC",
},
AccountId = "251583708250",
RoleType = "IamBased",
},
});
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" },
},
});
});
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.NgfwEndpointArgs;
import com.pulumi.cloudngfwaws.NgfwLogProfile;
import com.pulumi.cloudngfwaws.NgfwLogProfileArgs;
import com.pulumi.cloudngfwaws.inputs.NgfwLogProfileLogConfigArgs;
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(Map.of("name", "tf-example"))
.build());
var subnet1 = new Subnet("subnet1", SubnetArgs.builder()
.vpcId(myVpc.id())
.cidrBlock("172.16.10.0/24")
.availabilityZone("us-west-2a")
.tags(Map.of("name", "tf-example"))
.build());
var x = new Ngfw("x", NgfwArgs.builder()
.name("example-instance")
.description("Example description")
.endpoints(NgfwEndpointArgs.builder()
.subnetId(subnet1.id())
.mode("ServiceManaged")
.vpcId(exampleVpc.id())
.accountId("12345678")
.build())
.rulestack("example-rulestack")
.tags(Map.of("Foo", "bar"))
.build());
var example = new NgfwLogProfile("example", NgfwLogProfileArgs.builder()
.firewallId(x.firewallId())
.accountId(x.accountId())
.advancedThreatLog(true)
.cloudwatchMetricFields(
"Dataplane_CPU_Utilization",
"Session_Throughput_Kbps",
"BytesIn",
"BytesOut")
.cloudWatchMetricNamespace("PaloAltoCloudNGFW")
.logConfig(NgfwLogProfileLogConfigArgs.builder()
.logDestination("my-s3-bucket")
.logDestinationType("S3")
.logTypes("TRAFFIC")
.accountId("251583708250")
.roleType("IamBased")
.build())
.build());
var subnet2 = new Subnet("subnet2", SubnetArgs.builder()
.vpcId(myVpc.id())
.cidrBlock("172.16.20.0/24")
.availabilityZone("us-west-2b")
.tags(Map.of("name", "tf-example"))
.build());
}
}
resources:
example:
type: cloudngfwaws:NgfwLogProfile
properties:
firewallId: ${x.firewallId}
accountId: ${x.accountId}
advancedThreatLog: true
cloudwatchMetricFields:
- Dataplane_CPU_Utilization
- Session_Throughput_Kbps
- BytesIn
- BytesOut
cloudWatchMetricNamespace: PaloAltoCloudNGFW
logConfig:
logDestination: my-s3-bucket
logDestinationType: S3
logTypes:
- TRAFFIC
accountId: '251583708250'
roleType: IamBased
x:
type: cloudngfwaws:Ngfw
properties:
name: example-instance
description: Example description
endpoints:
- subnetId: ${subnet1.id}
mode: ServiceManaged
vpcId: ${exampleVpc.id}
accountId: '12345678'
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,
firewall_id: Optional[str] = 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_config: Optional[NgfwLogProfileLogConfigArgs] = None,
log_destinations: Optional[Sequence[NgfwLogProfileLogDestinationArgs]] = None,
ngfw: Optional[str] = None,
region: Optional[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()
{
FirewallId = "string",
AccountId = "string",
AdvancedThreatLog = false,
CloudWatchMetricNamespace = "string",
CloudwatchMetricFields = new[]
{
"string",
},
LogConfig = new CloudNgfwAws.Inputs.NgfwLogProfileLogConfigArgs
{
LogDestination = "string",
LogDestinationType = "string",
LogTypes = new[]
{
"string",
},
AccountId = "string",
RoleType = "string",
},
LogDestinations = new[]
{
new CloudNgfwAws.Inputs.NgfwLogProfileLogDestinationArgs
{
Destination = "string",
DestinationType = "string",
LogType = "string",
},
},
Ngfw = "string",
Region = "string",
});
example, err := cloudngfwaws.NewNgfwLogProfile(ctx, "ngfwLogProfileResource", &cloudngfwaws.NgfwLogProfileArgs{
FirewallId: pulumi.String("string"),
AccountId: pulumi.String("string"),
AdvancedThreatLog: pulumi.Bool(false),
CloudWatchMetricNamespace: pulumi.String("string"),
CloudwatchMetricFields: pulumi.StringArray{
pulumi.String("string"),
},
LogConfig: &cloudngfwaws.NgfwLogProfileLogConfigArgs{
LogDestination: pulumi.String("string"),
LogDestinationType: pulumi.String("string"),
LogTypes: pulumi.StringArray{
pulumi.String("string"),
},
AccountId: pulumi.String("string"),
RoleType: pulumi.String("string"),
},
LogDestinations: cloudngfwaws.NgfwLogProfileLogDestinationArray{
&cloudngfwaws.NgfwLogProfileLogDestinationArgs{
Destination: pulumi.String("string"),
DestinationType: pulumi.String("string"),
LogType: pulumi.String("string"),
},
},
Ngfw: pulumi.String("string"),
Region: pulumi.String("string"),
})
var ngfwLogProfileResource = new NgfwLogProfile("ngfwLogProfileResource", NgfwLogProfileArgs.builder()
.firewallId("string")
.accountId("string")
.advancedThreatLog(false)
.cloudWatchMetricNamespace("string")
.cloudwatchMetricFields("string")
.logConfig(NgfwLogProfileLogConfigArgs.builder()
.logDestination("string")
.logDestinationType("string")
.logTypes("string")
.accountId("string")
.roleType("string")
.build())
.logDestinations(NgfwLogProfileLogDestinationArgs.builder()
.destination("string")
.destinationType("string")
.logType("string")
.build())
.ngfw("string")
.region("string")
.build());
ngfw_log_profile_resource = cloudngfwaws.NgfwLogProfile("ngfwLogProfileResource",
firewall_id="string",
account_id="string",
advanced_threat_log=False,
cloud_watch_metric_namespace="string",
cloudwatch_metric_fields=["string"],
log_config={
"log_destination": "string",
"log_destination_type": "string",
"log_types": ["string"],
"account_id": "string",
"role_type": "string",
},
log_destinations=[{
"destination": "string",
"destination_type": "string",
"log_type": "string",
}],
ngfw="string",
region="string")
const ngfwLogProfileResource = new cloudngfwaws.NgfwLogProfile("ngfwLogProfileResource", {
firewallId: "string",
accountId: "string",
advancedThreatLog: false,
cloudWatchMetricNamespace: "string",
cloudwatchMetricFields: ["string"],
logConfig: {
logDestination: "string",
logDestinationType: "string",
logTypes: ["string"],
accountId: "string",
roleType: "string",
},
logDestinations: [{
destination: "string",
destinationType: "string",
logType: "string",
}],
ngfw: "string",
region: "string",
});
type: cloudngfwaws:NgfwLogProfile
properties:
accountId: string
advancedThreatLog: false
cloudWatchMetricNamespace: string
cloudwatchMetricFields:
- string
firewallId: string
logConfig:
accountId: string
logDestination: string
logDestinationType: string
logTypes:
- string
roleType: string
logDestinations:
- destination: string
destinationType: string
logType: string
ngfw: string
region: 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:
- Firewall
Id string - The Firewall Id for the NGFW.
- Account
Id string - The unique ID of the account.
- Advanced
Threat boolLog - Enable advanced threat logging.
- Cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- Cloudwatch
Metric List<string>Fields - Cloudwatch metric fields.
- Log
Config Pulumi.Cloud Ngfw Aws. Inputs. Ngfw Log Profile Log Config - Log configuration details.
- Log
Destinations List<Pulumi.Cloud Ngfw Aws. Inputs. Ngfw Log Profile Log Destination> - List of log destinations.
- Ngfw string
- The name of the NGFW.
- Region string
- The region of the NGFW.
- Firewall
Id string - The Firewall Id for the NGFW.
- Account
Id string - The unique ID of the account.
- Advanced
Threat boolLog - Enable advanced threat logging.
- Cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- Cloudwatch
Metric []stringFields - Cloudwatch metric fields.
- Log
Config NgfwLog Profile Log Config Args - Log configuration details.
- Log
Destinations []NgfwLog Profile Log Destination Args - List of log destinations.
- Ngfw string
- The name of the NGFW.
- Region string
- The region of the NGFW.
- firewall
Id String - The Firewall Id for the NGFW.
- account
Id String - The unique ID of the account.
- advanced
Threat BooleanLog - Enable advanced threat logging.
- cloud
Watch StringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric List<String>Fields - Cloudwatch metric fields.
- log
Config NgfwLog Profile Log Config - Log configuration details.
- log
Destinations List<NgfwLog Profile Log Destination> - List of log destinations.
- ngfw String
- The name of the NGFW.
- region String
- The region of the NGFW.
- firewall
Id string - The Firewall Id for the NGFW.
- account
Id string - The unique ID of the account.
- advanced
Threat booleanLog - Enable advanced threat logging.
- cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric string[]Fields - Cloudwatch metric fields.
- log
Config NgfwLog Profile Log Config - Log configuration details.
- log
Destinations NgfwLog Profile Log Destination[] - List of log destinations.
- ngfw string
- The name of the NGFW.
- region string
- The region of the NGFW.
- firewall_
id str - The Firewall Id for 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.
- log_
config NgfwLog Profile Log Config Args - Log configuration details.
- log_
destinations Sequence[NgfwLog Profile Log Destination Args] - List of log destinations.
- ngfw str
- The name of the NGFW.
- region str
- The region of the NGFW.
- firewall
Id String - The Firewall Id for the NGFW.
- account
Id String - The unique ID of the account.
- advanced
Threat BooleanLog - Enable advanced threat logging.
- cloud
Watch StringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric List<String>Fields - Cloudwatch metric fields.
- log
Config Property Map - Log configuration details.
- log
Destinations List<Property Map> - List of log destinations.
- ngfw String
- The name of the NGFW.
- region String
- The region of the NGFW.
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.
- Update
Token string - The update token.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Token string - The update token.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Token String - The update token.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Token string - The update token.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
token str - The update token.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Token String - The update token.
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,
firewall_id: Optional[str] = None,
log_config: Optional[NgfwLogProfileLogConfigArgs] = None,
log_destinations: Optional[Sequence[NgfwLogProfileLogDestinationArgs]] = None,
ngfw: Optional[str] = None,
region: Optional[str] = None,
update_token: Optional[str] = None) -> NgfwLogProfilefunc 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)resources: _: type: cloudngfwaws:NgfwLogProfile get: id: ${id}- 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.
- Account
Id string - The unique ID of the account.
- Advanced
Threat boolLog - Enable advanced threat logging.
- Cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- Cloudwatch
Metric List<string>Fields - Cloudwatch metric fields.
- Firewall
Id string - The Firewall Id for the NGFW.
- Log
Config Pulumi.Cloud Ngfw Aws. Inputs. Ngfw Log Profile Log Config - Log configuration details.
- Log
Destinations List<Pulumi.Cloud Ngfw Aws. Inputs. Ngfw Log Profile Log Destination> - List of log destinations.
- Ngfw string
- The name of the NGFW.
- Region string
- The region of the NGFW.
- Update
Token string - The update token.
- Account
Id string - The unique ID of the account.
- Advanced
Threat boolLog - Enable advanced threat logging.
- Cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- Cloudwatch
Metric []stringFields - Cloudwatch metric fields.
- Firewall
Id string - The Firewall Id for the NGFW.
- Log
Config NgfwLog Profile Log Config Args - Log configuration details.
- Log
Destinations []NgfwLog Profile Log Destination Args - List of log destinations.
- Ngfw string
- The name of the NGFW.
- Region string
- The region of the NGFW.
- Update
Token string - The update token.
- account
Id String - The unique ID of the account.
- advanced
Threat BooleanLog - Enable advanced threat logging.
- cloud
Watch StringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric List<String>Fields - Cloudwatch metric fields.
- firewall
Id String - The Firewall Id for the NGFW.
- log
Config NgfwLog Profile Log Config - Log configuration details.
- log
Destinations List<NgfwLog Profile Log Destination> - List of log destinations.
- ngfw String
- The name of the NGFW.
- region String
- The region of the NGFW.
- update
Token String - The update token.
- account
Id string - The unique ID of the account.
- advanced
Threat booleanLog - Enable advanced threat logging.
- cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric string[]Fields - Cloudwatch metric fields.
- firewall
Id string - The Firewall Id for the NGFW.
- log
Config NgfwLog Profile Log Config - Log configuration details.
- log
Destinations NgfwLog Profile Log Destination[] - List of log destinations.
- ngfw string
- The name of the NGFW.
- region string
- The region of the NGFW.
- update
Token string - The update token.
- 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.
- firewall_
id str - The Firewall Id for the NGFW.
- log_
config NgfwLog Profile Log Config Args - Log configuration details.
- log_
destinations Sequence[NgfwLog Profile Log Destination Args] - List of log destinations.
- ngfw str
- The name of the NGFW.
- region str
- The region of the NGFW.
- update_
token str - The update token.
- account
Id String - The unique ID of the account.
- advanced
Threat BooleanLog - Enable advanced threat logging.
- cloud
Watch StringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric List<String>Fields - Cloudwatch metric fields.
- firewall
Id String - The Firewall Id for the NGFW.
- log
Config Property Map - Log configuration details.
- log
Destinations List<Property Map> - List of log destinations.
- ngfw String
- The name of the NGFW.
- region String
- The region of the NGFW.
- update
Token String - The update token.
Supporting Types
NgfwLogProfileLogConfig, NgfwLogProfileLogConfigArgs
- Log
Destination string - The log destination details.
- Log
Destination stringType - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - Log
Types List<string> - The list of different log types that are wanted
- Account
Id string - Type of Role for log configuration
- Role
Type string - Type of Role for log configuration
- Log
Destination string - The log destination details.
- Log
Destination stringType - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - Log
Types []string - The list of different log types that are wanted
- Account
Id string - Type of Role for log configuration
- Role
Type string - Type of Role for log configuration
- log
Destination String - The log destination details.
- log
Destination StringType - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - log
Types List<String> - The list of different log types that are wanted
- account
Id String - Type of Role for log configuration
- role
Type String - Type of Role for log configuration
- log
Destination string - The log destination details.
- log
Destination stringType - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - log
Types string[] - The list of different log types that are wanted
- account
Id string - Type of Role for log configuration
- role
Type string - Type of Role for log configuration
- log_
destination str - The log destination details.
- log_
destination_ strtype - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - log_
types Sequence[str] - The list of different log types that are wanted
- account_
id str - Type of Role for log configuration
- role_
type str - Type of Role for log configuration
- log
Destination String - The log destination details.
- log
Destination StringType - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - log
Types List<String> - The list of different log types that are wanted
- account
Id String - Type of Role for log configuration
- role
Type String - Type of Role for log configuration
NgfwLogProfileLogDestination, NgfwLogProfileLogDestinationArgs
- Destination string
- The log destination details.
- Destination
Type string - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - Log
Type string - The type of logs. Valid values are
TRAFFIC,THREAT, orDECRYPTION.
- Destination string
- The log destination details.
- Destination
Type string - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - Log
Type string - The type of logs. Valid values are
TRAFFIC,THREAT, orDECRYPTION.
- destination String
- The log destination details.
- destination
Type String - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - log
Type String - The type of logs. Valid values are
TRAFFIC,THREAT, orDECRYPTION.
- destination string
- The log destination details.
- destination
Type string - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - log
Type 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.
- destination
Type String - The log destination type. Valid values are
S3,CloudWatchLogs, orKinesisDataFirehose. - log
Type String - The type of logs. Valid values are
TRAFFIC,THREAT, orDECRYPTION.
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
cloudngfwawsTerraform Provider.
