Class CfnLoggingConfiguration.Builder

java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnLoggingConfiguration.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfiguration>
Enclosing class:
CfnLoggingConfiguration

@Stability(Stable) public static final class CfnLoggingConfiguration.Builder extends Object implements software.amazon.jsii.Builder<CfnLoggingConfiguration>
A fluent builder for CfnLoggingConfiguration.
  • Method Details

    • create

      @Stability(Stable) public static CfnLoggingConfiguration.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnLoggingConfiguration.Builder.
    • firewallArn

      @Stability(Stable) public CfnLoggingConfiguration.Builder firewallArn(String firewallArn)
      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.

      Parameters:
      firewallArn - The Amazon Resource Name (ARN) of the Firewall that the logging configuration is associated with. This parameter is required.
      Returns:
      this
    • loggingConfiguration

      @Stability(Stable) public CfnLoggingConfiguration.Builder loggingConfiguration(IResolvable loggingConfiguration)
      Defines how AWS Network Firewall performs logging for a Firewall .

      Parameters:
      loggingConfiguration - Defines how AWS Network Firewall performs logging for a Firewall . This parameter is required.
      Returns:
      this
    • loggingConfiguration

      @Stability(Stable) public CfnLoggingConfiguration.Builder loggingConfiguration(CfnLoggingConfiguration.LoggingConfigurationProperty loggingConfiguration)
      Defines how AWS Network Firewall performs logging for a Firewall .

      Parameters:
      loggingConfiguration - Defines how AWS Network Firewall performs logging for a Firewall . This parameter is required.
      Returns:
      this
    • firewallName

      @Stability(Stable) public CfnLoggingConfiguration.Builder firewallName(String firewallName)
      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.

      Parameters:
      firewallName - The name of the firewall that the logging configuration is associated with. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnLoggingConfiguration build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnLoggingConfiguration>
      Returns:
      a newly built instance of CfnLoggingConfiguration.