Class CloudfrontWebAcl.Builder

    • Method Detail

      • cidrAllowList

        @Stability(Experimental)
        public CloudfrontWebAcl.Builder cidrAllowList​(CidrAllowList cidrAllowList)
        (experimental) List of cidr ranges to allow.

        Default: - undefined

        Parameters:
        cidrAllowList - List of cidr ranges to allow. This parameter is required.
        Returns:
        this
      • managedRules

        @Stability(Experimental)
        public CloudfrontWebAcl.Builder managedRules​(List<? extends ManagedRule> managedRules)
        (experimental) List of managed rules to apply to the web acl.

        Default: - [{ vendor: "AWS", name: "AWSManagedRulesCommonRuleSet" }]

        Parameters:
        managedRules - List of managed rules to apply to the web acl. This parameter is required.
        Returns:
        this