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
@Stability(Stable) public static CfnLoggingConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLoggingConfiguration>
- Returns:
- a newly built instance of
CfnLoggingConfiguration
.
-