Interface CfnWebACLProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.132Z") @Stability(Stable) public interface CfnWebACLProps extends
Properties for defining a CfnWebACL.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnWebACLProps cfnWebACLProps = CfnWebACLProps.builder()
         // the properties below are optional
  • Method Details

    • getDefaultAction

      @Stability(Stable) @NotNull Object getDefaultAction()
      The action to perform if none of the Rules contained in the WebACL match.

      The action is specified by the WafAction object.

    • getMetricName

      @Stability(Stable) @NotNull String getMetricName()
      A name for the metrics for this WebACL .

      The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL .

    • getName

      @Stability(Stable) @NotNull String getName()
      A friendly name or description of the WebACL .

      You can't change the name of a WebACL after you create it.

    • getRules

      @Stability(Stable) @Nullable default Object getRules()
      An array that contains the action for each Rule in a WebACL , the priority of the Rule , and the ID of the Rule .
    • builder

      @Stability(Stable) static CfnWebACLProps.Builder builder()
      a CfnWebACLProps.Builder of CfnWebACLProps