Package com.pulumi.aws.wafv2
Class WebAclLoggingConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.wafv2.WebAclLoggingConfigurationArgs.Builder
-
- Enclosing class:
- WebAclLoggingConfigurationArgs
public static final class WebAclLoggingConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(WebAclLoggingConfigurationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WebAclLoggingConfigurationArgs defaults)
-
-
Method Detail
-
logDestinationConfigs
public WebAclLoggingConfigurationArgs.Builder logDestinationConfigs(com.pulumi.core.Output<java.util.List<java.lang.String>> logDestinationConfigs)
- Parameters:
logDestinationConfigs- Configuration block that allows you to associate Amazon Kinesis Data Firehose, CloudWatch Log log group, or S3 bucket ARNs with the web ACL. **Note:** data firehose, log group, or bucket name **must** be prefixed with `aws-waf-logs-`, e.g. `aws-waf-logs-example-firehose`, `aws-waf-logs-example-log-group`, or `aws-waf-logs-example-bucket`.- Returns:
- builder
-
logDestinationConfigs
public WebAclLoggingConfigurationArgs.Builder logDestinationConfigs(java.util.List<java.lang.String> logDestinationConfigs)
- Parameters:
logDestinationConfigs- Configuration block that allows you to associate Amazon Kinesis Data Firehose, CloudWatch Log log group, or S3 bucket ARNs with the web ACL. **Note:** data firehose, log group, or bucket name **must** be prefixed with `aws-waf-logs-`, e.g. `aws-waf-logs-example-firehose`, `aws-waf-logs-example-log-group`, or `aws-waf-logs-example-bucket`.- Returns:
- builder
-
logDestinationConfigs
public WebAclLoggingConfigurationArgs.Builder logDestinationConfigs(java.lang.String... logDestinationConfigs)
- Parameters:
logDestinationConfigs- Configuration block that allows you to associate Amazon Kinesis Data Firehose, CloudWatch Log log group, or S3 bucket ARNs with the web ACL. **Note:** data firehose, log group, or bucket name **must** be prefixed with `aws-waf-logs-`, e.g. `aws-waf-logs-example-firehose`, `aws-waf-logs-example-log-group`, or `aws-waf-logs-example-bucket`.- Returns:
- builder
-
loggingFilter
public WebAclLoggingConfigurationArgs.Builder loggingFilter(@Nullable com.pulumi.core.Output<WebAclLoggingConfigurationLoggingFilterArgs> loggingFilter)
- Parameters:
loggingFilter- Configuration block that specifies which web requests are kept in the logs and which are dropped. It allows filtering based on the rule action and the web request labels applied by matching rules during web ACL evaluation. For more details, refer to the Logging Filter section below.- Returns:
- builder
-
loggingFilter
public WebAclLoggingConfigurationArgs.Builder loggingFilter(WebAclLoggingConfigurationLoggingFilterArgs loggingFilter)
- Parameters:
loggingFilter- Configuration block that specifies which web requests are kept in the logs and which are dropped. It allows filtering based on the rule action and the web request labels applied by matching rules during web ACL evaluation. For more details, refer to the Logging Filter section below.- Returns:
- builder
-
redactedFields
public WebAclLoggingConfigurationArgs.Builder redactedFields(@Nullable com.pulumi.core.Output<java.util.List<WebAclLoggingConfigurationRedactedFieldArgs>> redactedFields)
- Parameters:
redactedFields- Configuration for parts of the request that you want to keep out of the logs. Up to 100 `redactedFields` blocks are supported. See Redacted Fields below for more details.- Returns:
- builder
-
redactedFields
public WebAclLoggingConfigurationArgs.Builder redactedFields(java.util.List<WebAclLoggingConfigurationRedactedFieldArgs> redactedFields)
- Parameters:
redactedFields- Configuration for parts of the request that you want to keep out of the logs. Up to 100 `redactedFields` blocks are supported. See Redacted Fields below for more details.- Returns:
- builder
-
redactedFields
public WebAclLoggingConfigurationArgs.Builder redactedFields(WebAclLoggingConfigurationRedactedFieldArgs... redactedFields)
- Parameters:
redactedFields- Configuration for parts of the request that you want to keep out of the logs. Up to 100 `redactedFields` blocks are supported. See Redacted Fields below for more details.- Returns:
- builder
-
region
public WebAclLoggingConfigurationArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public WebAclLoggingConfigurationArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
resourceArn
public WebAclLoggingConfigurationArgs.Builder resourceArn(com.pulumi.core.Output<java.lang.String> resourceArn)
- Parameters:
resourceArn- ARN of the web ACL that you want to associate with `logDestinationConfigs`.- Returns:
- builder
-
resourceArn
public WebAclLoggingConfigurationArgs.Builder resourceArn(java.lang.String resourceArn)
- Parameters:
resourceArn- ARN of the web ACL that you want to associate with `logDestinationConfigs`.- Returns:
- builder
-
build
public WebAclLoggingConfigurationArgs build()
-
-