public static final class CfnLoggingConfigurationProps.Builder
extends java.lang.Object
CfnLoggingConfigurationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLoggingConfigurationProps |
build()
Builds the configured instance.
|
CfnLoggingConfigurationProps.Builder |
logDestinationConfigs(java.util.List<java.lang.String> logDestinationConfigs)
Sets the value of
CfnLoggingConfigurationProps.getLogDestinationConfigs() |
CfnLoggingConfigurationProps.Builder |
loggingFilter(java.lang.Object loggingFilter)
Sets the value of
CfnLoggingConfigurationProps.getLoggingFilter() |
CfnLoggingConfigurationProps.Builder |
redactedFields(IResolvable redactedFields)
Sets the value of
CfnLoggingConfigurationProps.getRedactedFields() |
CfnLoggingConfigurationProps.Builder |
redactedFields(java.util.List<? extends java.lang.Object> redactedFields)
Sets the value of
CfnLoggingConfigurationProps.getRedactedFields() |
CfnLoggingConfigurationProps.Builder |
resourceArn(java.lang.String resourceArn)
Sets the value of
CfnLoggingConfigurationProps.getResourceArn() |
public CfnLoggingConfigurationProps.Builder logDestinationConfigs(java.util.List<java.lang.String> logDestinationConfigs)
CfnLoggingConfigurationProps.getLogDestinationConfigs()
logDestinationConfigs
- The logging destination configuration that you want to associate with the web ACL. This parameter is required.
You can associate one logging destination to a web ACL.
this
public CfnLoggingConfigurationProps.Builder resourceArn(java.lang.String resourceArn)
CfnLoggingConfigurationProps.getResourceArn()
resourceArn
- The Amazon Resource Name (ARN) of the web ACL that you want to associate with `LogDestinationConfigs` . This parameter is required.this
public CfnLoggingConfigurationProps.Builder loggingFilter(java.lang.Object loggingFilter)
CfnLoggingConfigurationProps.getLoggingFilter()
loggingFilter
- Filtering that specifies which web requests are kept in the logs and which are dropped.
You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.this
public CfnLoggingConfigurationProps.Builder redactedFields(IResolvable redactedFields)
CfnLoggingConfigurationProps.getRedactedFields()
redactedFields
- The parts of the request that you want to keep out of the logs.
For example, if you redact the SingleHeader
field, the HEADER
field in the logs will be REDACTED
.
You can specify only the following fields for redaction:
UriPath
,QueryString
,SingleHeader
,Method
, andJsonBody
.
this
public CfnLoggingConfigurationProps.Builder redactedFields(java.util.List<? extends java.lang.Object> redactedFields)
CfnLoggingConfigurationProps.getRedactedFields()
redactedFields
- The parts of the request that you want to keep out of the logs.
For example, if you redact the SingleHeader
field, the HEADER
field in the logs will be REDACTED
.
You can specify only the following fields for redaction:
UriPath
,QueryString
,SingleHeader
,Method
, andJsonBody
.
this
public CfnLoggingConfigurationProps build()
CfnLoggingConfigurationProps
java.lang.NullPointerException
- if any required attribute was not provided