Update Logging Configuration
| networkfirewall_update_logging_configuration | R Documentation |
Sets the logging configuration for the specified firewall¶
Description¶
Sets the logging configuration for the specified firewall.
To change the logging configuration, retrieve the LoggingConfiguration
by calling describe_logging_configuration, then change it and provide
the modified object to this update call. You must change the logging
configuration one LogDestinationConfig at a time inside the retrieved
LoggingConfiguration object.
You can perform only one of the following actions in any call to
update_logging_configuration:
-
Create a new log destination object by adding a single
LogDestinationConfigarray element toLogDestinationConfigs. -
Delete a log destination object by removing a single
LogDestinationConfigarray element fromLogDestinationConfigs. -
Change the
LogDestinationsetting in a singleLogDestinationConfigarray element.
You can't change the LogDestinationType or LogType in a
LogDestinationConfig. To change these settings, delete the existing
LogDestinationConfig object and create a new one, using two separate
calls to this update operation.
Usage¶
Arguments¶
FirewallArnThe Amazon Resource Name (ARN) of the firewall.
You must specify the ARN or the name, and you can specify both.
FirewallNameThe descriptive name of the firewall. You can't change the name of a firewall after you create it.
You must specify the ARN or the name, and you can specify both.
LoggingConfigurationDefines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.
Value¶
A list with the following syntax:
list(
FirewallArn = "string",
FirewallName = "string",
LoggingConfiguration = list(
LogDestinationConfigs = list(
list(
LogType = "ALERT"|"FLOW"|"TLS",
LogDestinationType = "S3"|"CloudWatchLogs"|"KinesisDataFirehose",
LogDestination = list(
"string"
)
)
)
)
)