CfnLoggingConfigurationProps

class aws_cdk.aws_networkfirewall.CfnLoggingConfigurationProps(*, firewall_arn, logging_configuration, firewall_name=None)

Bases: object

Properties for defining a CfnLoggingConfiguration.

Parameters
  • 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 (Union[IResolvable, LoggingConfigurationProperty, Dict[str, Any]]) – Defines how AWS Network Firewall performs logging for a Firewall .

  • firewall_name (Optional[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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_networkfirewall as networkfirewall

cfn_logging_configuration_props = networkfirewall.CfnLoggingConfigurationProps(
    firewall_arn="firewallArn",
    logging_configuration=networkfirewall.CfnLoggingConfiguration.LoggingConfigurationProperty(
        log_destination_configs=[networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty(
            log_destination={
                "log_destination_key": "logDestination"
            },
            log_destination_type="logDestinationType",
            log_type="logType"
        )]
    ),

    # the properties below are optional
    firewall_name="firewallName"
)

Attributes

firewall_arn

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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-firewallarn

Return type

str

firewall_name

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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-firewallname

Return type

Optional[str]

logging_configuration

Defines how AWS Network Firewall performs logging for a Firewall .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-loggingconfiguration

Return type

Union[IResolvable, LoggingConfigurationProperty]