Interface CfnLoggingConfigurationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLoggingConfigurationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.412Z") @Stability(Stable) public interface CfnLoggingConfigurationProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnLoggingConfiguration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.networkfirewall.*;
 CfnLoggingConfigurationProps cfnLoggingConfigurationProps = CfnLoggingConfigurationProps.builder()
         .firewallArn("firewallArn")
         .loggingConfiguration(LoggingConfigurationProperty.builder()
                 .logDestinationConfigs(List.of(LogDestinationConfigProperty.builder()
                         .logDestination(Map.of(
                                 "logDestinationKey", "logDestination"))
                         .logDestinationType("logDestinationType")
                         .logType("logType")
                         .build()))
                 .build())
         // the properties below are optional
         .firewallName("firewallName")
         .build();
 
  • Method Details

    • getFirewallArn

      @Stability(Stable) @NotNull String getFirewallArn()
      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.

    • getLoggingConfiguration

      @Stability(Stable) @NotNull Object getLoggingConfiguration()
      Defines how AWS Network Firewall performs logging for a Firewall .
    • getFirewallName

      @Stability(Stable) @Nullable default String getFirewallName()
      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.

    • builder

      @Stability(Stable) static CfnLoggingConfigurationProps.Builder builder()
      Returns:
      a CfnLoggingConfigurationProps.Builder of CfnLoggingConfigurationProps