Package com.pulumi.aws.wafv2.inputs
Class WebAclLoggingConfigurationState.Builder
- java.lang.Object
-
- com.pulumi.aws.wafv2.inputs.WebAclLoggingConfigurationState.Builder
-
- Enclosing class:
- WebAclLoggingConfigurationState
public static final class WebAclLoggingConfigurationState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(WebAclLoggingConfigurationState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WebAclLoggingConfigurationState defaults)
-
-
Method Detail
-
logDestinationConfigs
public WebAclLoggingConfigurationState.Builder logDestinationConfigs(@Nullable 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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.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 WebAclLoggingConfigurationState.Builder resourceArn(@Nullable 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 WebAclLoggingConfigurationState.Builder resourceArn(java.lang.String resourceArn)
- Parameters:
resourceArn- ARN of the web ACL that you want to associate with `logDestinationConfigs`.- Returns:
- builder
-
build
public WebAclLoggingConfigurationState build()
-
-