@Stability(value=Stable) public static final class CfnLoggingConfiguration.Builder extends Object implements software.amazon.jsii.Builder<CfnLoggingConfiguration>
CfnLoggingConfiguration.| Modifier and Type | Method and Description |
|---|---|
CfnLoggingConfiguration |
build() |
static CfnLoggingConfiguration.Builder |
create(software.constructs.Construct scope,
String id) |
CfnLoggingConfiguration.Builder |
logDestinationConfigs(List<String> logDestinationConfigs)
The logging destination configuration that you want to associate with the web ACL.
|
CfnLoggingConfiguration.Builder |
loggingFilter(Object loggingFilter)
Filtering that specifies which web requests are kept in the logs and which are dropped.
|
CfnLoggingConfiguration.Builder |
redactedFields(IResolvable redactedFields)
The parts of the request that you want to keep out of the logs.
|
CfnLoggingConfiguration.Builder |
redactedFields(List<? extends Object> redactedFields)
The parts of the request that you want to keep out of the logs.
|
CfnLoggingConfiguration.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with `LogDestinationConfigs` .
|
@Stability(value=Stable) public static CfnLoggingConfiguration.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnLoggingConfiguration.FieldToMatchProperty.Builder.@Stability(value=Stable) public CfnLoggingConfiguration.Builder logDestinationConfigs(List<String> logDestinationConfigs)
You can associate one logging destination to a web ACL.
logDestinationConfigs - The logging destination configuration that you want to associate with the web ACL. This parameter is required.this@Stability(value=Stable) public CfnLoggingConfiguration.Builder resourceArn(String resourceArn)
resourceArn - The Amazon Resource Name (ARN) of the web ACL that you want to associate with `LogDestinationConfigs` . This parameter is required.this@Stability(value=Stable) public CfnLoggingConfiguration.Builder loggingFilter(Object loggingFilter)
You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
loggingFilter - Filtering that specifies which web requests are kept in the logs and which are dropped. This parameter is required.this@Stability(value=Stable) public CfnLoggingConfiguration.Builder redactedFields(IResolvable redactedFields)
For example, if you redact the SingleHeader field, the HEADER field in the logs will be xxx .
You can specify only the following fields for redaction:
UriPath,QueryString,SingleHeader,Method, andJsonBody.
redactedFields - The parts of the request that you want to keep out of the logs. This parameter is required.this@Stability(value=Stable) public CfnLoggingConfiguration.Builder redactedFields(List<? extends Object> redactedFields)
For example, if you redact the SingleHeader field, the HEADER field in the logs will be xxx .
You can specify only the following fields for redaction:
UriPath,QueryString,SingleHeader,Method, andJsonBody.
redactedFields - The parts of the request that you want to keep out of the logs. This parameter is required.this@Stability(value=Stable) public CfnLoggingConfiguration build()
build in interface software.amazon.jsii.Builder<CfnLoggingConfiguration>Copyright © 2022. All rights reserved.