We recommend new projects start with resources from the AWS provider.
aws-native.networkfirewall.LoggingConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource type definition for AWS::NetworkFirewall::LoggingConfiguration
Create LoggingConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoggingConfiguration(name: string, args: LoggingConfigurationArgs, opts?: CustomResourceOptions);
@overload
def LoggingConfiguration(resource_name: str,
args: LoggingConfigurationInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoggingConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
firewall_arn: Optional[str] = None,
logging_configuration: Optional[LoggingConfigurationArgs] = None,
firewall_name: Optional[str] = None)
func NewLoggingConfiguration(ctx *Context, name string, args LoggingConfigurationArgs, opts ...ResourceOption) (*LoggingConfiguration, error)
public LoggingConfiguration(string name, LoggingConfigurationArgs args, CustomResourceOptions? opts = null)
public LoggingConfiguration(String name, LoggingConfigurationArgs args)
public LoggingConfiguration(String name, LoggingConfigurationArgs args, CustomResourceOptions options)
type: aws-native:networkfirewall:LoggingConfiguration
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 LoggingConfigurationArgs
- 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 LoggingConfigurationInitArgs
- 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 LoggingConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoggingConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoggingConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LoggingConfiguration 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 LoggingConfiguration resource accepts the following input properties:
- Firewall
Arn string - The Amazon Resource Name (ARN) of the
Firewall
that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration. - Logging
Configuration Pulumi.Value Aws Native. Network Firewall. Inputs. Logging Configuration - Defines how AWS Network Firewall performs logging for a
Firewall
. - Firewall
Name string - The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
- Firewall
Arn string - The Amazon Resource Name (ARN) of the
Firewall
that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration. - Logging
Configuration LoggingConfiguration Type Args - Defines how AWS Network Firewall performs logging for a
Firewall
. - Firewall
Name string - The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
- firewall
Arn String - The Amazon Resource Name (ARN) of the
Firewall
that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration. - logging
Configuration LoggingConfiguration - Defines how AWS Network Firewall performs logging for a
Firewall
. - firewall
Name String - The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
- firewall
Arn string - The Amazon Resource Name (ARN) of the
Firewall
that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration. - logging
Configuration LoggingConfiguration - Defines how AWS Network Firewall performs logging for a
Firewall
. - firewall
Name string - The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
- firewall_
arn str - The Amazon Resource Name (ARN) of the
Firewall
that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration. - logging_
configuration LoggingConfiguration Args - Defines how AWS Network Firewall performs logging for a
Firewall
. - firewall_
name str - The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
- firewall
Arn String - The Amazon Resource Name (ARN) of the
Firewall
that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration. - logging
Configuration Property Map - Defines how AWS Network Firewall performs logging for a
Firewall
. - firewall
Name String - The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the LoggingConfiguration 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.
Supporting Types
LoggingConfiguration, LoggingConfigurationArgs
- Log
Destination List<Pulumi.Configs Aws Native. Network Firewall. Inputs. Logging Configuration Log Destination Config> - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
- Log
Destination []LoggingConfigs Configuration Log Destination Config - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
- log
Destination List<LoggingConfigs Configuration Log Destination Config> - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
- log
Destination LoggingConfigs Configuration Log Destination Config[] - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
- log_
destination_ Sequence[Loggingconfigs Configuration Log Destination Config] - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
- log
Destination List<Property Map>Configs - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
LoggingConfigurationLogDestinationConfig, LoggingConfigurationLogDestinationConfigArgs
- Log
Destination Dictionary<string, string> - A key-value pair to configure the logDestinations.
- Log
Destination Pulumi.Type Aws Native. Network Firewall. Logging Configuration Log Destination Config Log Destination Type - The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.
- Log
Type Pulumi.Aws Native. Network Firewall. Logging Configuration Log Destination Config Log Type - The type of log to record. You can record the following types of logs from your Network Firewall stateful engine.
ALERT
- Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see theStatefulRule
property.FLOW
- Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group.TLS
- Logs for events that are related to TLS inspection. For more information, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide .
- Log
Destination map[string]string - A key-value pair to configure the logDestinations.
- Log
Destination LoggingType Configuration Log Destination Config Log Destination Type - The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.
- Log
Type LoggingConfiguration Log Destination Config Log Type - The type of log to record. You can record the following types of logs from your Network Firewall stateful engine.
ALERT
- Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see theStatefulRule
property.FLOW
- Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group.TLS
- Logs for events that are related to TLS inspection. For more information, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide .
- log
Destination Map<String,String> - A key-value pair to configure the logDestinations.
- log
Destination LoggingType Configuration Log Destination Config Log Destination Type - The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.
- log
Type LoggingConfiguration Log Destination Config Log Type - The type of log to record. You can record the following types of logs from your Network Firewall stateful engine.
ALERT
- Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see theStatefulRule
property.FLOW
- Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group.TLS
- Logs for events that are related to TLS inspection. For more information, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide .
- log
Destination {[key: string]: string} - A key-value pair to configure the logDestinations.
- log
Destination LoggingType Configuration Log Destination Config Log Destination Type - The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.
- log
Type LoggingConfiguration Log Destination Config Log Type - The type of log to record. You can record the following types of logs from your Network Firewall stateful engine.
ALERT
- Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see theStatefulRule
property.FLOW
- Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group.TLS
- Logs for events that are related to TLS inspection. For more information, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide .
- log_
destination Mapping[str, str] - A key-value pair to configure the logDestinations.
- log_
destination_ Loggingtype Configuration Log Destination Config Log Destination Type - The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.
- log_
type LoggingConfiguration Log Destination Config Log Type - The type of log to record. You can record the following types of logs from your Network Firewall stateful engine.
ALERT
- Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see theStatefulRule
property.FLOW
- Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group.TLS
- Logs for events that are related to TLS inspection. For more information, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide .
- log
Destination Map<String> - A key-value pair to configure the logDestinations.
- log
Destination "S3" | "CloudType Watch Logs" | "Kinesis Data Firehose" - The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.
- log
Type "ALERT" | "FLOW" | "TLS" - The type of log to record. You can record the following types of logs from your Network Firewall stateful engine.
ALERT
- Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see theStatefulRule
property.FLOW
- Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group.TLS
- Logs for events that are related to TLS inspection. For more information, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide .
LoggingConfigurationLogDestinationConfigLogDestinationType, LoggingConfigurationLogDestinationConfigLogDestinationTypeArgs
- S3
- S3
- Cloud
Watch Logs - CloudWatchLogs
- Kinesis
Data Firehose - KinesisDataFirehose
- Logging
Configuration Log Destination Config Log Destination Type S3 - S3
- Logging
Configuration Log Destination Config Log Destination Type Cloud Watch Logs - CloudWatchLogs
- Logging
Configuration Log Destination Config Log Destination Type Kinesis Data Firehose - KinesisDataFirehose
- S3
- S3
- Cloud
Watch Logs - CloudWatchLogs
- Kinesis
Data Firehose - KinesisDataFirehose
- S3
- S3
- Cloud
Watch Logs - CloudWatchLogs
- Kinesis
Data Firehose - KinesisDataFirehose
- S3
- S3
- CLOUD_WATCH_LOGS
- CloudWatchLogs
- KINESIS_DATA_FIREHOSE
- KinesisDataFirehose
- "S3"
- S3
- "Cloud
Watch Logs" - CloudWatchLogs
- "Kinesis
Data Firehose" - KinesisDataFirehose
LoggingConfigurationLogDestinationConfigLogType, LoggingConfigurationLogDestinationConfigLogTypeArgs
- Alert
- ALERT
- Flow
- FLOW
- Tls
- TLS
- Logging
Configuration Log Destination Config Log Type Alert - ALERT
- Logging
Configuration Log Destination Config Log Type Flow - FLOW
- Logging
Configuration Log Destination Config Log Type Tls - TLS
- Alert
- ALERT
- Flow
- FLOW
- Tls
- TLS
- Alert
- ALERT
- Flow
- FLOW
- Tls
- TLS
- ALERT
- ALERT
- FLOW
- FLOW
- TLS
- TLS
- "ALERT"
- ALERT
- "FLOW"
- FLOW
- "TLS"
- TLS
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.