Class: AWSCDK::NetworkFirewall::CfnLoggingConfiguration::LoggingConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
network_firewall/cfn_logging_configuration.rb

Overview

Defines how AWS Network Firewall performs logging for a firewall.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log_destination_configs:) ⇒ LoggingConfigurationProperty

Returns a new instance of LoggingConfigurationProperty.

Parameters:



619
620
621
622
# File 'network_firewall/cfn_logging_configuration.rb', line 619

def initialize(log_destination_configs:)
  @log_destination_configs = log_destination_configs
  Jsii::Type.check_type(@log_destination_configs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbmV0d29ya2ZpcmV3YWxsLkNmbkxvZ2dpbmdDb25maWd1cmF0aW9uLkxvZ0Rlc3RpbmF0aW9uQ29uZmlnUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "logDestinationConfigs")
end

Instance Attribute Details

#log_destination_configsAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::NetworkFirewall::CfnLoggingConfiguration::LogDestinationConfigProperty> (readonly)

Defines the logging destinations for the logs for a firewall.

Network Firewall generates logs for stateful rule groups.



630
631
632
# File 'network_firewall/cfn_logging_configuration.rb', line 630

def log_destination_configs
  @log_destination_configs
end

Class Method Details

.jsii_propertiesObject



632
633
634
635
636
# File 'network_firewall/cfn_logging_configuration.rb', line 632

def self.jsii_properties
  {
    :log_destination_configs => "logDestinationConfigs",
  }
end

Instance Method Details

#to_jsiiObject



638
639
640
641
642
643
644
# File 'network_firewall/cfn_logging_configuration.rb', line 638

def to_jsii
  result = {}
  result.merge!({
    "logDestinationConfigs" => @log_destination_configs,
  })
  result.compact
end