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 Summary
Modifier and TypeMethodDescriptionbuild()
firewallArn
(String firewallArn) The Amazon Resource Name (ARN) of theFirewall
that the logging configuration is associated with.firewallName
(String firewallName) The name of the firewall that the logging configuration is associated with.loggingConfiguration
(IResolvable loggingConfiguration) Defines how AWS Network Firewall performs logging for aFirewall
.loggingConfiguration
(CfnLoggingConfiguration.LoggingConfigurationProperty loggingConfiguration) Defines how AWS Network Firewall performs logging for aFirewall
.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnLoggingConfiguration.Builder
.
-
firewallArn
The Amazon Resource Name (ARN) of theFirewall
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 theFirewall
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 aFirewall
.- Parameters:
loggingConfiguration
- Defines how AWS Network Firewall performs logging for aFirewall
. This parameter is required.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnLoggingConfiguration.Builder loggingConfiguration(CfnLoggingConfiguration.LoggingConfigurationProperty loggingConfiguration) Defines how AWS Network Firewall performs logging for aFirewall
.- Parameters:
loggingConfiguration
- Defines how AWS Network Firewall performs logging for aFirewall
. This parameter is required.- Returns:
this
-
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLoggingConfiguration>
- Returns:
- a newly built instance of
CfnLoggingConfiguration
.
-