@Stability(value=Stable) public static final class CfnWebACL.VisibilityConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.VisibilityConfigProperty>
CfnWebACL.VisibilityConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
CfnWebACL.VisibilityConfigProperty.getCloudWatchMetricsEnabled()cloudWatchMetricsEnabled - A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch . This parameter is required.
For the list of available metrics, see AWS WAF Metrics .this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled)
CfnWebACL.VisibilityConfigProperty.getCloudWatchMetricsEnabled()cloudWatchMetricsEnabled - A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch . This parameter is required.
For the list of available metrics, see AWS WAF Metrics .this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder metricName(String metricName)
CfnWebACL.VisibilityConfigProperty.getMetricName()metricName - The descriptive name of the Amazon CloudWatch metric. This parameter is required.
The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with length from one to 128 characters. It can't contain whitespace or metric names reserved for AWS WAF , for example "All" and "Default_Action." You can't change a MetricName after you create a VisibilityConfig .this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder sampledRequestsEnabled(Boolean sampledRequestsEnabled)
CfnWebACL.VisibilityConfigProperty.getSampledRequestsEnabled()sampledRequestsEnabled - A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules. This parameter is required.
You can view the sampled requests through the AWS WAF console.this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder sampledRequestsEnabled(IResolvable sampledRequestsEnabled)
CfnWebACL.VisibilityConfigProperty.getSampledRequestsEnabled()sampledRequestsEnabled - A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules. This parameter is required.
You can view the sampled requests through the AWS WAF console.this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.VisibilityConfigProperty>CfnWebACL.VisibilityConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.