1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. wafv2
  6. WebAclRule
Viewing docs for AWS v7.27.0
published on Thursday, Apr 23, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.27.0
published on Thursday, Apr 23, 2026 by Pulumi

    Manages an individual rule within a WAFv2 Web ACL. This resource creates proper Terraform dependencies for safe deletion of referenced resources like IP sets, solving the WAFAssociatedItemException error that occurs when deleting IP sets that are still referenced by Web ACL rules.

    NOTE: When using this resource, you must add lifecycle { ignoreChanges = [rule] } to your aws.wafv2.WebAcl resource to prevent conflicts. See the aws.wafv2.WebAcl documentation for a full description of the limitations of inline rules that this resource addresses.

    Example Usage

    Migrating from Inline Rules

    This resource supports a “create-or-adopt” pattern that allows seamless migration from inline Web ACL rules to separate aws.wafv2.WebAclRule resources without infrastructure changes.

    When you create an aws.wafv2.WebAclRule resource with the same name as an existing inline rule in the Web ACL, the resource will automatically adopt the existing rule instead of creating a duplicate. This enables zero-downtime migration from inline rules to separate resources.

    Starting with inline rules, update your configuration to use separate rule resources and apply:

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.wafv2.WebAcl("example", {
        name: "example",
        scope: "REGIONAL",
        defaultAction: {
            allow: {},
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: false,
            metricName: "example",
            sampledRequestsEnabled: false,
        },
    });
    // Separate rule resource with identical configuration
    const blockCountries = new aws.wafv2.WebAclRule("block_countries", {
        name: "block-countries",
        priority: 1,
        webAclArn: example.arn,
        action: {
            block: {},
        },
        statement: {
            geoMatchStatement: {
                countryCodes: [
                    "CN",
                    "RU",
                ],
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: false,
            metricName: "block-countries",
            sampledRequestsEnabled: false,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.wafv2.WebAcl("example",
        name="example",
        scope="REGIONAL",
        default_action={
            "allow": {},
        },
        visibility_config={
            "cloudwatch_metrics_enabled": False,
            "metric_name": "example",
            "sampled_requests_enabled": False,
        })
    # Separate rule resource with identical configuration
    block_countries = aws.wafv2.WebAclRule("block_countries",
        name="block-countries",
        priority=1,
        web_acl_arn=example.arn,
        action={
            "block": {},
        },
        statement={
            "geo_match_statement": {
                "country_codes": [
                    "CN",
                    "RU",
                ],
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": False,
            "metric_name": "block-countries",
            "sampled_requests_enabled": False,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := wafv2.NewWebAcl(ctx, "example", &wafv2.WebAclArgs{
    			Name:  pulumi.String("example"),
    			Scope: pulumi.String("REGIONAL"),
    			DefaultAction: &wafv2.WebAclDefaultActionArgs{
    				Allow: &wafv2.WebAclDefaultActionAllowArgs{},
    			},
    			VisibilityConfig: &wafv2.WebAclVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(false),
    				MetricName:               pulumi.String("example"),
    				SampledRequestsEnabled:   pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Separate rule resource with identical configuration
    		_, err = wafv2.NewWebAclRule(ctx, "block_countries", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("block-countries"),
    			Priority:  pulumi.Int(1),
    			WebAclArn: example.Arn,
    			Action: &wafv2.WebAclRuleActionArgs{
    				Block: &wafv2.WebAclRuleActionBlockArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				GeoMatchStatement: &wafv2.WebAclRuleStatementGeoMatchStatementArgs{
    					CountryCodes: pulumi.StringArray{
    						pulumi.String("CN"),
    						pulumi.String("RU"),
    					},
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(false),
    				MetricName:               pulumi.String("block-countries"),
    				SampledRequestsEnabled:   pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.WafV2.WebAcl("example", new()
        {
            Name = "example",
            Scope = "REGIONAL",
            DefaultAction = new Aws.WafV2.Inputs.WebAclDefaultActionArgs
            {
                Allow = null,
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = false,
                MetricName = "example",
                SampledRequestsEnabled = false,
            },
        });
    
        // Separate rule resource with identical configuration
        var blockCountries = new Aws.WafV2.WebAclRule("block_countries", new()
        {
            Name = "block-countries",
            Priority = 1,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Block = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                GeoMatchStatement = new Aws.WafV2.Inputs.WebAclRuleStatementGeoMatchStatementArgs
                {
                    CountryCodes = new[]
                    {
                        "CN",
                        "RU",
                    },
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = false,
                MetricName = "block-countries",
                SampledRequestsEnabled = false,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAcl;
    import com.pulumi.aws.wafv2.WebAclArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclDefaultActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclDefaultActionAllowArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclVisibilityConfigArgs;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionBlockArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementGeoMatchStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new WebAcl("example", WebAclArgs.builder()
                .name("example")
                .scope("REGIONAL")
                .defaultAction(WebAclDefaultActionArgs.builder()
                    .allow(WebAclDefaultActionAllowArgs.builder()
                        .build())
                    .build())
                .visibilityConfig(WebAclVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(false)
                    .metricName("example")
                    .sampledRequestsEnabled(false)
                    .build())
                .build());
    
            // Separate rule resource with identical configuration
            var blockCountries = new WebAclRule("blockCountries", WebAclRuleArgs.builder()
                .name("block-countries")
                .priority(1)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .block(WebAclRuleActionBlockArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .geoMatchStatement(WebAclRuleStatementGeoMatchStatementArgs.builder()
                        .countryCodes(                    
                            "CN",
                            "RU")
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(false)
                    .metricName("block-countries")
                    .sampledRequestsEnabled(false)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:wafv2:WebAcl
        properties:
          name: example
          scope: REGIONAL
          defaultAction:
            allow: {}
          visibilityConfig:
            cloudwatchMetricsEnabled: false
            metricName: example
            sampledRequestsEnabled: false
      # Separate rule resource with identical configuration
      blockCountries:
        type: aws:wafv2:WebAclRule
        name: block_countries
        properties:
          name: block-countries
          priority: 1
          webAclArn: ${example.arn}
          action:
            block: {}
          statement:
            geoMatchStatement:
              countryCodes:
                - CN
                - RU
          visibilityConfig:
            cloudwatchMetricsEnabled: false
            metricName: block-countries
            sampledRequestsEnabled: false
    

    Apply the configuration:

    pulumi up
    

    The aws.wafv2.WebAclRule resource will adopt the existing inline rule without making any changes to the actual Web ACL infrastructure. The rule continues to function identically, but is now managed as a separate Terraform resource.

    • The rule name in the aws.wafv2.WebAclRule resource must exactly match the existing inline rule name
    • Add lifecycle { ignoreChanges = [rule] } to your Web ACL resource to prevent conflicts
    • The create-or-adopt behavior only applies when a rule with the same name already exists in the Web ACL

    Basic Geo Match Rule

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.wafv2.WebAcl("example", {
        name: "example",
        scope: "REGIONAL",
        defaultAction: {
            allow: {},
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: false,
            metricName: "example",
            sampledRequestsEnabled: false,
        },
    });
    const blockCountries = new aws.wafv2.WebAclRule("block_countries", {
        name: "block-countries",
        priority: 1,
        webAclArn: example.arn,
        action: {
            block: {},
        },
        statement: {
            geoMatchStatement: {
                countryCodes: [
                    "CN",
                    "RU",
                ],
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: false,
            metricName: "block-countries",
            sampledRequestsEnabled: false,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.wafv2.WebAcl("example",
        name="example",
        scope="REGIONAL",
        default_action={
            "allow": {},
        },
        visibility_config={
            "cloudwatch_metrics_enabled": False,
            "metric_name": "example",
            "sampled_requests_enabled": False,
        })
    block_countries = aws.wafv2.WebAclRule("block_countries",
        name="block-countries",
        priority=1,
        web_acl_arn=example.arn,
        action={
            "block": {},
        },
        statement={
            "geo_match_statement": {
                "country_codes": [
                    "CN",
                    "RU",
                ],
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": False,
            "metric_name": "block-countries",
            "sampled_requests_enabled": False,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := wafv2.NewWebAcl(ctx, "example", &wafv2.WebAclArgs{
    			Name:  pulumi.String("example"),
    			Scope: pulumi.String("REGIONAL"),
    			DefaultAction: &wafv2.WebAclDefaultActionArgs{
    				Allow: &wafv2.WebAclDefaultActionAllowArgs{},
    			},
    			VisibilityConfig: &wafv2.WebAclVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(false),
    				MetricName:               pulumi.String("example"),
    				SampledRequestsEnabled:   pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = wafv2.NewWebAclRule(ctx, "block_countries", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("block-countries"),
    			Priority:  pulumi.Int(1),
    			WebAclArn: example.Arn,
    			Action: &wafv2.WebAclRuleActionArgs{
    				Block: &wafv2.WebAclRuleActionBlockArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				GeoMatchStatement: &wafv2.WebAclRuleStatementGeoMatchStatementArgs{
    					CountryCodes: pulumi.StringArray{
    						pulumi.String("CN"),
    						pulumi.String("RU"),
    					},
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(false),
    				MetricName:               pulumi.String("block-countries"),
    				SampledRequestsEnabled:   pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.WafV2.WebAcl("example", new()
        {
            Name = "example",
            Scope = "REGIONAL",
            DefaultAction = new Aws.WafV2.Inputs.WebAclDefaultActionArgs
            {
                Allow = null,
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = false,
                MetricName = "example",
                SampledRequestsEnabled = false,
            },
        });
    
        var blockCountries = new Aws.WafV2.WebAclRule("block_countries", new()
        {
            Name = "block-countries",
            Priority = 1,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Block = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                GeoMatchStatement = new Aws.WafV2.Inputs.WebAclRuleStatementGeoMatchStatementArgs
                {
                    CountryCodes = new[]
                    {
                        "CN",
                        "RU",
                    },
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = false,
                MetricName = "block-countries",
                SampledRequestsEnabled = false,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAcl;
    import com.pulumi.aws.wafv2.WebAclArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclDefaultActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclDefaultActionAllowArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclVisibilityConfigArgs;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionBlockArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementGeoMatchStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new WebAcl("example", WebAclArgs.builder()
                .name("example")
                .scope("REGIONAL")
                .defaultAction(WebAclDefaultActionArgs.builder()
                    .allow(WebAclDefaultActionAllowArgs.builder()
                        .build())
                    .build())
                .visibilityConfig(WebAclVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(false)
                    .metricName("example")
                    .sampledRequestsEnabled(false)
                    .build())
                .build());
    
            var blockCountries = new WebAclRule("blockCountries", WebAclRuleArgs.builder()
                .name("block-countries")
                .priority(1)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .block(WebAclRuleActionBlockArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .geoMatchStatement(WebAclRuleStatementGeoMatchStatementArgs.builder()
                        .countryCodes(                    
                            "CN",
                            "RU")
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(false)
                    .metricName("block-countries")
                    .sampledRequestsEnabled(false)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:wafv2:WebAcl
        properties:
          name: example
          scope: REGIONAL
          defaultAction:
            allow: {}
          visibilityConfig:
            cloudwatchMetricsEnabled: false
            metricName: example
            sampledRequestsEnabled: false
      blockCountries:
        type: aws:wafv2:WebAclRule
        name: block_countries
        properties:
          name: block-countries
          priority: 1
          webAclArn: ${example.arn}
          action:
            block: {}
          statement:
            geoMatchStatement:
              countryCodes:
                - CN
                - RU
          visibilityConfig:
            cloudwatchMetricsEnabled: false
            metricName: block-countries
            sampledRequestsEnabled: false
    

    IP Set Reference (Solves Deletion Ordering)

    This example demonstrates the primary use case: referencing an IP set in a way that allows safe deletion.

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const blockedIps = new aws.wafv2.IpSet("blocked_ips", {
        name: "blocked-ips",
        scope: "REGIONAL",
        ipAddressVersion: "IPV4",
        addresses: [
            "1.2.3.4/32",
            "5.6.7.8/32",
        ],
    });
    const example = new aws.wafv2.WebAcl("example", {
        name: "example",
        scope: "REGIONAL",
        defaultAction: {
            allow: {},
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "example",
            sampledRequestsEnabled: true,
        },
    });
    const blockIps = new aws.wafv2.WebAclRule("block_ips", {
        name: "block-bad-ips",
        priority: 1,
        webAclArn: example.arn,
        action: {
            block: {},
        },
        statement: {
            ipSetReferenceStatement: {
                arn: blockedIps.arn,
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "block-bad-ips",
            sampledRequestsEnabled: true,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    blocked_ips = aws.wafv2.IpSet("blocked_ips",
        name="blocked-ips",
        scope="REGIONAL",
        ip_address_version="IPV4",
        addresses=[
            "1.2.3.4/32",
            "5.6.7.8/32",
        ])
    example = aws.wafv2.WebAcl("example",
        name="example",
        scope="REGIONAL",
        default_action={
            "allow": {},
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "example",
            "sampled_requests_enabled": True,
        })
    block_ips = aws.wafv2.WebAclRule("block_ips",
        name="block-bad-ips",
        priority=1,
        web_acl_arn=example.arn,
        action={
            "block": {},
        },
        statement={
            "ip_set_reference_statement": {
                "arn": blocked_ips.arn,
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "block-bad-ips",
            "sampled_requests_enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		blockedIps, err := wafv2.NewIpSet(ctx, "blocked_ips", &wafv2.IpSetArgs{
    			Name:             pulumi.String("blocked-ips"),
    			Scope:            pulumi.String("REGIONAL"),
    			IpAddressVersion: pulumi.String("IPV4"),
    			Addresses: pulumi.StringArray{
    				pulumi.String("1.2.3.4/32"),
    				pulumi.String("5.6.7.8/32"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		example, err := wafv2.NewWebAcl(ctx, "example", &wafv2.WebAclArgs{
    			Name:  pulumi.String("example"),
    			Scope: pulumi.String("REGIONAL"),
    			DefaultAction: &wafv2.WebAclDefaultActionArgs{
    				Allow: &wafv2.WebAclDefaultActionAllowArgs{},
    			},
    			VisibilityConfig: &wafv2.WebAclVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("example"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = wafv2.NewWebAclRule(ctx, "block_ips", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("block-bad-ips"),
    			Priority:  pulumi.Int(1),
    			WebAclArn: example.Arn,
    			Action: &wafv2.WebAclRuleActionArgs{
    				Block: &wafv2.WebAclRuleActionBlockArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				IpSetReferenceStatement: &wafv2.WebAclRuleStatementIpSetReferenceStatementArgs{
    					Arn: blockedIps.Arn,
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("block-bad-ips"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var blockedIps = new Aws.WafV2.IpSet("blocked_ips", new()
        {
            Name = "blocked-ips",
            Scope = "REGIONAL",
            IpAddressVersion = "IPV4",
            Addresses = new[]
            {
                "1.2.3.4/32",
                "5.6.7.8/32",
            },
        });
    
        var example = new Aws.WafV2.WebAcl("example", new()
        {
            Name = "example",
            Scope = "REGIONAL",
            DefaultAction = new Aws.WafV2.Inputs.WebAclDefaultActionArgs
            {
                Allow = null,
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "example",
                SampledRequestsEnabled = true,
            },
        });
    
        var blockIps = new Aws.WafV2.WebAclRule("block_ips", new()
        {
            Name = "block-bad-ips",
            Priority = 1,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Block = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                IpSetReferenceStatement = new Aws.WafV2.Inputs.WebAclRuleStatementIpSetReferenceStatementArgs
                {
                    Arn = blockedIps.Arn,
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "block-bad-ips",
                SampledRequestsEnabled = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.IpSet;
    import com.pulumi.aws.wafv2.IpSetArgs;
    import com.pulumi.aws.wafv2.WebAcl;
    import com.pulumi.aws.wafv2.WebAclArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclDefaultActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclDefaultActionAllowArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclVisibilityConfigArgs;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionBlockArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementIpSetReferenceStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var blockedIps = new IpSet("blockedIps", IpSetArgs.builder()
                .name("blocked-ips")
                .scope("REGIONAL")
                .ipAddressVersion("IPV4")
                .addresses(            
                    "1.2.3.4/32",
                    "5.6.7.8/32")
                .build());
    
            var example = new WebAcl("example", WebAclArgs.builder()
                .name("example")
                .scope("REGIONAL")
                .defaultAction(WebAclDefaultActionArgs.builder()
                    .allow(WebAclDefaultActionAllowArgs.builder()
                        .build())
                    .build())
                .visibilityConfig(WebAclVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("example")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
            var blockIps = new WebAclRule("blockIps", WebAclRuleArgs.builder()
                .name("block-bad-ips")
                .priority(1)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .block(WebAclRuleActionBlockArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .ipSetReferenceStatement(WebAclRuleStatementIpSetReferenceStatementArgs.builder()
                        .arn(blockedIps.arn())
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("block-bad-ips")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      blockedIps:
        type: aws:wafv2:IpSet
        name: blocked_ips
        properties:
          name: blocked-ips
          scope: REGIONAL
          ipAddressVersion: IPV4
          addresses:
            - 1.2.3.4/32
            - 5.6.7.8/32
      example:
        type: aws:wafv2:WebAcl
        properties:
          name: example
          scope: REGIONAL
          defaultAction:
            allow: {}
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: example
            sampledRequestsEnabled: true
      blockIps:
        type: aws:wafv2:WebAclRule
        name: block_ips
        properties:
          name: block-bad-ips
          priority: 1
          webAclArn: ${example.arn}
          action:
            block: {}
          statement:
            ipSetReferenceStatement:
              arn: ${blockedIps.arn}
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: block-bad-ips
            sampledRequestsEnabled: true
    

    Rate-Based Rule

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const rateLimit = new aws.wafv2.WebAclRule("rate_limit", {
        name: "rate-limit",
        priority: 2,
        webAclArn: example.arn,
        action: {
            block: {},
        },
        statement: {
            rateBasedStatement: {
                limit: 2000,
                aggregateKeyType: "IP",
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "rate-limit",
            sampledRequestsEnabled: true,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    rate_limit = aws.wafv2.WebAclRule("rate_limit",
        name="rate-limit",
        priority=2,
        web_acl_arn=example["arn"],
        action={
            "block": {},
        },
        statement={
            "rate_based_statement": {
                "limit": 2000,
                "aggregate_key_type": "IP",
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "rate-limit",
            "sampled_requests_enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := wafv2.NewWebAclRule(ctx, "rate_limit", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("rate-limit"),
    			Priority:  pulumi.Int(2),
    			WebAclArn: pulumi.Any(example.Arn),
    			Action: &wafv2.WebAclRuleActionArgs{
    				Block: &wafv2.WebAclRuleActionBlockArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				RateBasedStatement: &wafv2.WebAclRuleStatementRateBasedStatementArgs{
    					Limit:            pulumi.Int(2000),
    					AggregateKeyType: pulumi.String("IP"),
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("rate-limit"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var rateLimit = new Aws.WafV2.WebAclRule("rate_limit", new()
        {
            Name = "rate-limit",
            Priority = 2,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Block = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                RateBasedStatement = new Aws.WafV2.Inputs.WebAclRuleStatementRateBasedStatementArgs
                {
                    Limit = 2000,
                    AggregateKeyType = "IP",
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "rate-limit",
                SampledRequestsEnabled = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionBlockArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementRateBasedStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var rateLimit = new WebAclRule("rateLimit", WebAclRuleArgs.builder()
                .name("rate-limit")
                .priority(2)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .block(WebAclRuleActionBlockArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .rateBasedStatement(WebAclRuleStatementRateBasedStatementArgs.builder()
                        .limit(2000)
                        .aggregateKeyType("IP")
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("rate-limit")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      rateLimit:
        type: aws:wafv2:WebAclRule
        name: rate_limit
        properties:
          name: rate-limit
          priority: 2
          webAclArn: ${example.arn}
          action:
            block: {}
          statement:
            rateBasedStatement:
              limit: 2000
              aggregateKeyType: IP
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: rate-limit
            sampledRequestsEnabled: true
    

    Managed Rule Group with Override Action

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const awsManagedRules = new aws.wafv2.WebAclRule("aws_managed_rules", {
        name: "aws-managed-rules",
        priority: 3,
        webAclArn: example.arn,
        overrideAction: {
            none: {},
        },
        statement: {
            managedRuleGroupStatement: {
                name: "AWSManagedRulesCommonRuleSet",
                vendorName: "AWS",
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "aws-managed-rules",
            sampledRequestsEnabled: true,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    aws_managed_rules = aws.wafv2.WebAclRule("aws_managed_rules",
        name="aws-managed-rules",
        priority=3,
        web_acl_arn=example["arn"],
        override_action={
            "none": {},
        },
        statement={
            "managed_rule_group_statement": {
                "name": "AWSManagedRulesCommonRuleSet",
                "vendor_name": "AWS",
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "aws-managed-rules",
            "sampled_requests_enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := wafv2.NewWebAclRule(ctx, "aws_managed_rules", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("aws-managed-rules"),
    			Priority:  pulumi.Int(3),
    			WebAclArn: pulumi.Any(example.Arn),
    			OverrideAction: &wafv2.WebAclRuleOverrideActionArgs{
    				None: &wafv2.WebAclRuleOverrideActionNoneArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				ManagedRuleGroupStatement: &wafv2.WebAclRuleStatementManagedRuleGroupStatementArgs{
    					Name:       pulumi.String("AWSManagedRulesCommonRuleSet"),
    					VendorName: pulumi.String("AWS"),
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("aws-managed-rules"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var awsManagedRules = new Aws.WafV2.WebAclRule("aws_managed_rules", new()
        {
            Name = "aws-managed-rules",
            Priority = 3,
            WebAclArn = example.Arn,
            OverrideAction = new Aws.WafV2.Inputs.WebAclRuleOverrideActionArgs
            {
                None = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                ManagedRuleGroupStatement = new Aws.WafV2.Inputs.WebAclRuleStatementManagedRuleGroupStatementArgs
                {
                    Name = "AWSManagedRulesCommonRuleSet",
                    VendorName = "AWS",
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "aws-managed-rules",
                SampledRequestsEnabled = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleOverrideActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleOverrideActionNoneArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var awsManagedRules = new WebAclRule("awsManagedRules", WebAclRuleArgs.builder()
                .name("aws-managed-rules")
                .priority(3)
                .webAclArn(example.arn())
                .overrideAction(WebAclRuleOverrideActionArgs.builder()
                    .none(WebAclRuleOverrideActionNoneArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .managedRuleGroupStatement(WebAclRuleStatementManagedRuleGroupStatementArgs.builder()
                        .name("AWSManagedRulesCommonRuleSet")
                        .vendorName("AWS")
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("aws-managed-rules")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      awsManagedRules:
        type: aws:wafv2:WebAclRule
        name: aws_managed_rules
        properties:
          name: aws-managed-rules
          priority: 3
          webAclArn: ${example.arn}
          overrideAction:
            none: {}
          statement:
            managedRuleGroupStatement:
              name: AWSManagedRulesCommonRuleSet
              vendorName: AWS
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: aws-managed-rules
            sampledRequestsEnabled: true
    

    Custom Request Handling

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const captchaWithHeaders = new aws.wafv2.WebAclRule("captcha_with_headers", {
        name: "captcha-with-headers",
        priority: 4,
        webAclArn: example.arn,
        action: {
            captcha: {
                customRequestHandling: {
                    insertHeaders: [{
                        name: "x-captcha-rule",
                        value: "triggered",
                    }],
                },
            },
        },
        statement: {
            geoMatchStatement: {
                countryCodes: ["US"],
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "captcha-with-headers",
            sampledRequestsEnabled: true,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    captcha_with_headers = aws.wafv2.WebAclRule("captcha_with_headers",
        name="captcha-with-headers",
        priority=4,
        web_acl_arn=example["arn"],
        action={
            "captcha": {
                "custom_request_handling": {
                    "insert_headers": [{
                        "name": "x-captcha-rule",
                        "value": "triggered",
                    }],
                },
            },
        },
        statement={
            "geo_match_statement": {
                "country_codes": ["US"],
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "captcha-with-headers",
            "sampled_requests_enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := wafv2.NewWebAclRule(ctx, "captcha_with_headers", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("captcha-with-headers"),
    			Priority:  pulumi.Int(4),
    			WebAclArn: pulumi.Any(example.Arn),
    			Action: &wafv2.WebAclRuleActionArgs{
    				Captcha: &wafv2.WebAclRuleActionCaptchaArgs{
    					CustomRequestHandling: &wafv2.WebAclRuleActionCaptchaCustomRequestHandlingArgs{
    						InsertHeaders: wafv2.WebAclRuleActionCaptchaCustomRequestHandlingInsertHeaderArray{
    							&wafv2.WebAclRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs{
    								Name:  pulumi.String("x-captcha-rule"),
    								Value: pulumi.String("triggered"),
    							},
    						},
    					},
    				},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				GeoMatchStatement: &wafv2.WebAclRuleStatementGeoMatchStatementArgs{
    					CountryCodes: pulumi.StringArray{
    						pulumi.String("US"),
    					},
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("captcha-with-headers"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var captchaWithHeaders = new Aws.WafV2.WebAclRule("captcha_with_headers", new()
        {
            Name = "captcha-with-headers",
            Priority = 4,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Captcha = new Aws.WafV2.Inputs.WebAclRuleActionCaptchaArgs
                {
                    CustomRequestHandling = new Aws.WafV2.Inputs.WebAclRuleActionCaptchaCustomRequestHandlingArgs
                    {
                        InsertHeaders = new[]
                        {
                            new Aws.WafV2.Inputs.WebAclRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs
                            {
                                Name = "x-captcha-rule",
                                Value = "triggered",
                            },
                        },
                    },
                },
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                GeoMatchStatement = new Aws.WafV2.Inputs.WebAclRuleStatementGeoMatchStatementArgs
                {
                    CountryCodes = new[]
                    {
                        "US",
                    },
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "captcha-with-headers",
                SampledRequestsEnabled = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionCaptchaArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionCaptchaCustomRequestHandlingArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementGeoMatchStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var captchaWithHeaders = new WebAclRule("captchaWithHeaders", WebAclRuleArgs.builder()
                .name("captcha-with-headers")
                .priority(4)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .captcha(WebAclRuleActionCaptchaArgs.builder()
                        .customRequestHandling(WebAclRuleActionCaptchaCustomRequestHandlingArgs.builder()
                            .insertHeaders(WebAclRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs.builder()
                                .name("x-captcha-rule")
                                .value("triggered")
                                .build())
                            .build())
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .geoMatchStatement(WebAclRuleStatementGeoMatchStatementArgs.builder()
                        .countryCodes("US")
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("captcha-with-headers")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      captchaWithHeaders:
        type: aws:wafv2:WebAclRule
        name: captcha_with_headers
        properties:
          name: captcha-with-headers
          priority: 4
          webAclArn: ${example.arn}
          action:
            captcha:
              customRequestHandling:
                insertHeaders:
                  - name: x-captcha-rule
                    value: triggered
          statement:
            geoMatchStatement:
              countryCodes:
                - US
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: captcha-with-headers
            sampledRequestsEnabled: true
    

    IP Set Reference

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const blockedIps = new aws.wafv2.WebAclRule("blocked_ips", {
        name: "blocked-ips",
        priority: 1,
        webAclArn: example.arn,
        action: {
            block: {},
        },
        statement: {
            ipSetReferenceStatement: {
                arn: blockedIpsAwsWafv2IpSet.arn,
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "block-bad-ips",
            sampledRequestsEnabled: true,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    blocked_ips = aws.wafv2.WebAclRule("blocked_ips",
        name="blocked-ips",
        priority=1,
        web_acl_arn=example["arn"],
        action={
            "block": {},
        },
        statement={
            "ip_set_reference_statement": {
                "arn": blocked_ips_aws_wafv2_ip_set["arn"],
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "block-bad-ips",
            "sampled_requests_enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := wafv2.NewWebAclRule(ctx, "blocked_ips", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("blocked-ips"),
    			Priority:  pulumi.Int(1),
    			WebAclArn: pulumi.Any(example.Arn),
    			Action: &wafv2.WebAclRuleActionArgs{
    				Block: &wafv2.WebAclRuleActionBlockArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				IpSetReferenceStatement: &wafv2.WebAclRuleStatementIpSetReferenceStatementArgs{
    					Arn: pulumi.Any(blockedIpsAwsWafv2IpSet.Arn),
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("block-bad-ips"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var blockedIps = new Aws.WafV2.WebAclRule("blocked_ips", new()
        {
            Name = "blocked-ips",
            Priority = 1,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Block = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                IpSetReferenceStatement = new Aws.WafV2.Inputs.WebAclRuleStatementIpSetReferenceStatementArgs
                {
                    Arn = blockedIpsAwsWafv2IpSet.Arn,
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "block-bad-ips",
                SampledRequestsEnabled = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionBlockArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementIpSetReferenceStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var blockedIps = new WebAclRule("blockedIps", WebAclRuleArgs.builder()
                .name("blocked-ips")
                .priority(1)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .block(WebAclRuleActionBlockArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .ipSetReferenceStatement(WebAclRuleStatementIpSetReferenceStatementArgs.builder()
                        .arn(blockedIpsAwsWafv2IpSet.arn())
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("block-bad-ips")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      blockedIps:
        type: aws:wafv2:WebAclRule
        name: blocked_ips
        properties:
          name: blocked-ips
          priority: 1
          webAclArn: ${example.arn}
          action:
            block: {}
          statement:
            ipSetReferenceStatement:
              arn: ${blockedIpsAwsWafv2IpSet.arn}
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: block-bad-ips
            sampledRequestsEnabled: true
    

    With this configuration, when you remove both the aws.wafv2.WebAclRule and aws.wafv2.IpSet resources, Terraform will:

    1. Delete the rule first (removing the reference from the Web ACL)
    2. Delete the IP set second (now safe because it’s no longer referenced)

    This prevents the WAFAssociatedItemException error.

    Logical AND Statement

    Block requests that match multiple conditions (e.g., from a specific country AND containing a specific string):

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const blockSuspicious = new aws.wafv2.WebAclRule("block_suspicious", {
        name: "block-suspicious",
        priority: 1,
        webAclArn: example.arn,
        action: {
            block: {},
        },
        statement: {
            andStatement: {
                statements: [
                    {
                        geoMatchStatement: {
                            countryCodes: ["CN"],
                        },
                    },
                    {
                        byteMatchStatement: {
                            searchString: "admin",
                            positionalConstraint: "CONTAINS",
                            fieldToMatch: {
                                uriPath: {},
                            },
                            textTransformations: [{
                                priority: 0,
                                type: "LOWERCASE",
                            }],
                        },
                    },
                ],
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "block-suspicious",
            sampledRequestsEnabled: true,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    block_suspicious = aws.wafv2.WebAclRule("block_suspicious",
        name="block-suspicious",
        priority=1,
        web_acl_arn=example["arn"],
        action={
            "block": {},
        },
        statement={
            "and_statement": {
                "statements": [
                    {
                        "geo_match_statement": {
                            "country_codes": ["CN"],
                        },
                    },
                    {
                        "byte_match_statement": {
                            "search_string": "admin",
                            "positional_constraint": "CONTAINS",
                            "field_to_match": {
                                "uri_path": {},
                            },
                            "text_transformations": [{
                                "priority": 0,
                                "type": "LOWERCASE",
                            }],
                        },
                    },
                ],
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "block-suspicious",
            "sampled_requests_enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := wafv2.NewWebAclRule(ctx, "block_suspicious", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("block-suspicious"),
    			Priority:  pulumi.Int(1),
    			WebAclArn: pulumi.Any(example.Arn),
    			Action: &wafv2.WebAclRuleActionArgs{
    				Block: &wafv2.WebAclRuleActionBlockArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				AndStatement: &wafv2.WebAclRuleStatementAndStatementArgs{
    					Statements: wafv2.WebAclRuleStatementArray{
    						&wafv2.WebAclRuleStatementArgs{
    							GeoMatchStatement: &wafv2.WebAclRuleStatementGeoMatchStatementArgs{
    								CountryCodes: pulumi.StringArray{
    									pulumi.String("CN"),
    								},
    							},
    						},
    						&wafv2.WebAclRuleStatementArgs{
    							ByteMatchStatement: &wafv2.WebAclRuleStatementByteMatchStatementArgs{
    								SearchString:         pulumi.String("admin"),
    								PositionalConstraint: pulumi.String("CONTAINS"),
    								FieldToMatch: &wafv2.WebAclRuleStatementByteMatchStatementFieldToMatchArgs{
    									UriPath: &wafv2.WebAclRuleStatementByteMatchStatementFieldToMatchUriPathArgs{},
    								},
    								TextTransformations: wafv2.WebAclRuleStatementByteMatchStatementTextTransformationArray{
    									&wafv2.WebAclRuleStatementByteMatchStatementTextTransformationArgs{
    										Priority: pulumi.Int(0),
    										Type:     pulumi.String("LOWERCASE"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("block-suspicious"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var blockSuspicious = new Aws.WafV2.WebAclRule("block_suspicious", new()
        {
            Name = "block-suspicious",
            Priority = 1,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Block = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                AndStatement = new Aws.WafV2.Inputs.WebAclRuleStatementAndStatementArgs
                {
                    Statements = new[]
                    {
                        new Aws.WafV2.Inputs.WebAclRuleStatementArgs
                        {
                            GeoMatchStatement = new Aws.WafV2.Inputs.WebAclRuleStatementGeoMatchStatementArgs
                            {
                                CountryCodes = new[]
                                {
                                    "CN",
                                },
                            },
                        },
                        new Aws.WafV2.Inputs.WebAclRuleStatementArgs
                        {
                            ByteMatchStatement = new Aws.WafV2.Inputs.WebAclRuleStatementByteMatchStatementArgs
                            {
                                SearchString = "admin",
                                PositionalConstraint = "CONTAINS",
                                FieldToMatch = new Aws.WafV2.Inputs.WebAclRuleStatementByteMatchStatementFieldToMatchArgs
                                {
                                    UriPath = null,
                                },
                                TextTransformations = new[]
                                {
                                    new Aws.WafV2.Inputs.WebAclRuleStatementByteMatchStatementTextTransformationArgs
                                    {
                                        Priority = 0,
                                        Type = "LOWERCASE",
                                    },
                                },
                            },
                        },
                    },
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "block-suspicious",
                SampledRequestsEnabled = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionBlockArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementAndStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var blockSuspicious = new WebAclRule("blockSuspicious", WebAclRuleArgs.builder()
                .name("block-suspicious")
                .priority(1)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .block(WebAclRuleActionBlockArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .andStatement(WebAclRuleStatementAndStatementArgs.builder()
                        .statements(                    
                            WebAclRuleStatementArgs.builder()
                                .geoMatchStatement(WebAclRuleStatementGeoMatchStatementArgs.builder()
                                    .countryCodes("CN")
                                    .build())
                                .build(),
                            WebAclRuleStatementArgs.builder()
                                .byteMatchStatement(WebAclRuleStatementByteMatchStatementArgs.builder()
                                    .searchString("admin")
                                    .positionalConstraint("CONTAINS")
                                    .fieldToMatch(WebAclRuleStatementByteMatchStatementFieldToMatchArgs.builder()
                                        .uriPath(WebAclRuleStatementByteMatchStatementFieldToMatchUriPathArgs.builder()
                                            .build())
                                        .build())
                                    .textTransformations(WebAclRuleStatementByteMatchStatementTextTransformationArgs.builder()
                                        .priority(0)
                                        .type("LOWERCASE")
                                        .build())
                                    .build())
                                .build())
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("block-suspicious")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      blockSuspicious:
        type: aws:wafv2:WebAclRule
        name: block_suspicious
        properties:
          name: block-suspicious
          priority: 1
          webAclArn: ${example.arn}
          action:
            block: {}
          statement:
            andStatement:
              statements:
                - geoMatchStatement:
                    countryCodes:
                      - CN
                - byteMatchStatement:
                    searchString: admin
                    positionalConstraint: CONTAINS
                    fieldToMatch:
                      uriPath: {}
                    textTransformations:
                      - priority: 0
                        type: LOWERCASE
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: block-suspicious
            sampledRequestsEnabled: true
    

    Logical OR Statement

    Block requests that match any of multiple conditions:

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const blockCountries = new aws.wafv2.WebAclRule("block_countries", {
        name: "block-countries",
        priority: 2,
        webAclArn: example.arn,
        action: {
            block: {},
        },
        statement: {
            orStatement: {
                statements: [
                    {
                        geoMatchStatement: {
                            countryCodes: ["CN"],
                        },
                    },
                    {
                        geoMatchStatement: {
                            countryCodes: ["RU"],
                        },
                    },
                ],
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "block-countries",
            sampledRequestsEnabled: true,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    block_countries = aws.wafv2.WebAclRule("block_countries",
        name="block-countries",
        priority=2,
        web_acl_arn=example["arn"],
        action={
            "block": {},
        },
        statement={
            "or_statement": {
                "statements": [
                    {
                        "geo_match_statement": {
                            "country_codes": ["CN"],
                        },
                    },
                    {
                        "geo_match_statement": {
                            "country_codes": ["RU"],
                        },
                    },
                ],
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "block-countries",
            "sampled_requests_enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := wafv2.NewWebAclRule(ctx, "block_countries", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("block-countries"),
    			Priority:  pulumi.Int(2),
    			WebAclArn: pulumi.Any(example.Arn),
    			Action: &wafv2.WebAclRuleActionArgs{
    				Block: &wafv2.WebAclRuleActionBlockArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				OrStatement: &wafv2.WebAclRuleStatementOrStatementArgs{
    					Statements: wafv2.WebAclRuleStatementArray{
    						&wafv2.WebAclRuleStatementArgs{
    							GeoMatchStatement: &wafv2.WebAclRuleStatementGeoMatchStatementArgs{
    								CountryCodes: pulumi.StringArray{
    									pulumi.String("CN"),
    								},
    							},
    						},
    						&wafv2.WebAclRuleStatementArgs{
    							GeoMatchStatement: &wafv2.WebAclRuleStatementGeoMatchStatementArgs{
    								CountryCodes: pulumi.StringArray{
    									pulumi.String("RU"),
    								},
    							},
    						},
    					},
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("block-countries"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var blockCountries = new Aws.WafV2.WebAclRule("block_countries", new()
        {
            Name = "block-countries",
            Priority = 2,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Block = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                OrStatement = new Aws.WafV2.Inputs.WebAclRuleStatementOrStatementArgs
                {
                    Statements = new[]
                    {
                        new Aws.WafV2.Inputs.WebAclRuleStatementArgs
                        {
                            GeoMatchStatement = new Aws.WafV2.Inputs.WebAclRuleStatementGeoMatchStatementArgs
                            {
                                CountryCodes = new[]
                                {
                                    "CN",
                                },
                            },
                        },
                        new Aws.WafV2.Inputs.WebAclRuleStatementArgs
                        {
                            GeoMatchStatement = new Aws.WafV2.Inputs.WebAclRuleStatementGeoMatchStatementArgs
                            {
                                CountryCodes = new[]
                                {
                                    "RU",
                                },
                            },
                        },
                    },
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "block-countries",
                SampledRequestsEnabled = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionBlockArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementOrStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var blockCountries = new WebAclRule("blockCountries", WebAclRuleArgs.builder()
                .name("block-countries")
                .priority(2)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .block(WebAclRuleActionBlockArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .orStatement(WebAclRuleStatementOrStatementArgs.builder()
                        .statements(                    
                            WebAclRuleStatementArgs.builder()
                                .geoMatchStatement(WebAclRuleStatementGeoMatchStatementArgs.builder()
                                    .countryCodes("CN")
                                    .build())
                                .build(),
                            WebAclRuleStatementArgs.builder()
                                .geoMatchStatement(WebAclRuleStatementGeoMatchStatementArgs.builder()
                                    .countryCodes("RU")
                                    .build())
                                .build())
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("block-countries")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      blockCountries:
        type: aws:wafv2:WebAclRule
        name: block_countries
        properties:
          name: block-countries
          priority: 2
          webAclArn: ${example.arn}
          action:
            block: {}
          statement:
            orStatement:
              statements:
                - geoMatchStatement:
                    countryCodes:
                      - CN
                - geoMatchStatement:
                    countryCodes:
                      - RU
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: block-countries
            sampledRequestsEnabled: true
    

    Logical NOT Statement

    Allow requests only from specific countries by negating a geo match:

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const allowOnlyUs = new aws.wafv2.WebAclRule("allow_only_us", {
        name: "allow-only-us",
        priority: 3,
        webAclArn: example.arn,
        action: {
            block: {},
        },
        statement: {
            notStatement: {
                statement: {
                    geoMatchStatement: {
                        countryCodes: [
                            "US",
                            "CA",
                        ],
                    },
                },
            },
        },
        visibilityConfig: {
            cloudwatchMetricsEnabled: true,
            metricName: "allow-only-us",
            sampledRequestsEnabled: true,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    allow_only_us = aws.wafv2.WebAclRule("allow_only_us",
        name="allow-only-us",
        priority=3,
        web_acl_arn=example["arn"],
        action={
            "block": {},
        },
        statement={
            "not_statement": {
                "statement": {
                    "geo_match_statement": {
                        "country_codes": [
                            "US",
                            "CA",
                        ],
                    },
                },
            },
        },
        visibility_config={
            "cloudwatch_metrics_enabled": True,
            "metric_name": "allow-only-us",
            "sampled_requests_enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/wafv2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := wafv2.NewWebAclRule(ctx, "allow_only_us", &wafv2.WebAclRuleArgs{
    			Name:      pulumi.String("allow-only-us"),
    			Priority:  pulumi.Int(3),
    			WebAclArn: pulumi.Any(example.Arn),
    			Action: &wafv2.WebAclRuleActionArgs{
    				Block: &wafv2.WebAclRuleActionBlockArgs{},
    			},
    			Statement: &wafv2.WebAclRuleStatementArgs{
    				NotStatement: &wafv2.WebAclRuleStatementNotStatementArgs{
    					Statement: &wafv2.WebAclRuleStatementNotStatementStatementArgs{
    						GeoMatchStatement: &wafv2.WebAclRuleStatementNotStatementStatementGeoMatchStatementArgs{
    							CountryCodes: pulumi.StringArray{
    								pulumi.String("US"),
    								pulumi.String("CA"),
    							},
    						},
    					},
    				},
    			},
    			VisibilityConfig: &wafv2.WebAclRuleVisibilityConfigArgs{
    				CloudwatchMetricsEnabled: pulumi.Bool(true),
    				MetricName:               pulumi.String("allow-only-us"),
    				SampledRequestsEnabled:   pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var allowOnlyUs = new Aws.WafV2.WebAclRule("allow_only_us", new()
        {
            Name = "allow-only-us",
            Priority = 3,
            WebAclArn = example.Arn,
            Action = new Aws.WafV2.Inputs.WebAclRuleActionArgs
            {
                Block = null,
            },
            Statement = new Aws.WafV2.Inputs.WebAclRuleStatementArgs
            {
                NotStatement = new Aws.WafV2.Inputs.WebAclRuleStatementNotStatementArgs
                {
                    Statement = new Aws.WafV2.Inputs.WebAclRuleStatementNotStatementStatementArgs
                    {
                        GeoMatchStatement = new Aws.WafV2.Inputs.WebAclRuleStatementNotStatementStatementGeoMatchStatementArgs
                        {
                            CountryCodes = new[]
                            {
                                "US",
                                "CA",
                            },
                        },
                    },
                },
            },
            VisibilityConfig = new Aws.WafV2.Inputs.WebAclRuleVisibilityConfigArgs
            {
                CloudwatchMetricsEnabled = true,
                MetricName = "allow-only-us",
                SampledRequestsEnabled = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafv2.WebAclRule;
    import com.pulumi.aws.wafv2.WebAclRuleArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleActionBlockArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementNotStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementNotStatementStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementNotStatementStatementGeoMatchStatementArgs;
    import com.pulumi.aws.wafv2.inputs.WebAclRuleVisibilityConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var allowOnlyUs = new WebAclRule("allowOnlyUs", WebAclRuleArgs.builder()
                .name("allow-only-us")
                .priority(3)
                .webAclArn(example.arn())
                .action(WebAclRuleActionArgs.builder()
                    .block(WebAclRuleActionBlockArgs.builder()
                        .build())
                    .build())
                .statement(WebAclRuleStatementArgs.builder()
                    .notStatement(WebAclRuleStatementNotStatementArgs.builder()
                        .statement(WebAclRuleStatementNotStatementStatementArgs.builder()
                            .geoMatchStatement(WebAclRuleStatementNotStatementStatementGeoMatchStatementArgs.builder()
                                .countryCodes(                            
                                    "US",
                                    "CA")
                                .build())
                            .build())
                        .build())
                    .build())
                .visibilityConfig(WebAclRuleVisibilityConfigArgs.builder()
                    .cloudwatchMetricsEnabled(true)
                    .metricName("allow-only-us")
                    .sampledRequestsEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      allowOnlyUs:
        type: aws:wafv2:WebAclRule
        name: allow_only_us
        properties:
          name: allow-only-us
          priority: 3
          webAclArn: ${example.arn}
          action:
            block: {}
          statement:
            notStatement:
              statement:
                geoMatchStatement:
                  countryCodes:
                    - US
                    - CA
          visibilityConfig:
            cloudwatchMetricsEnabled: true
            metricName: allow-only-us
            sampledRequestsEnabled: true
    

    Create WebAclRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WebAclRule(name: string, args: WebAclRuleArgs, opts?: CustomResourceOptions);
    @overload
    def WebAclRule(resource_name: str,
                   args: WebAclRuleInitArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebAclRule(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   priority: Optional[int] = None,
                   web_acl_arn: Optional[str] = None,
                   action: Optional[WebAclRuleActionArgs] = None,
                   captcha_config: Optional[WebAclRuleCaptchaConfigArgs] = None,
                   challenge_config: Optional[WebAclRuleChallengeConfigArgs] = None,
                   name: Optional[str] = None,
                   override_action: Optional[WebAclRuleOverrideActionArgs] = None,
                   region: Optional[str] = None,
                   rule_labels: Optional[Sequence[WebAclRuleRuleLabelArgs]] = None,
                   statement: Optional[WebAclRuleStatementArgs] = None,
                   timeouts: Optional[WebAclRuleTimeoutsArgs] = None,
                   visibility_config: Optional[WebAclRuleVisibilityConfigArgs] = None)
    func NewWebAclRule(ctx *Context, name string, args WebAclRuleArgs, opts ...ResourceOption) (*WebAclRule, error)
    public WebAclRule(string name, WebAclRuleArgs args, CustomResourceOptions? opts = null)
    public WebAclRule(String name, WebAclRuleArgs args)
    public WebAclRule(String name, WebAclRuleArgs args, CustomResourceOptions options)
    
    type: aws:wafv2:WebAclRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WebAclRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WebAclRuleInitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WebAclRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAclRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebAclRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    WebAclRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WebAclRule resource accepts the following input properties:

    Priority int
    Rule priority. Rules with lower priority are evaluated first.
    WebAclArn string

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    Action WebAclRuleAction
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    CaptchaConfig WebAclRuleCaptchaConfig
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    ChallengeConfig WebAclRuleChallengeConfig
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    Name string
    Name of the rule. Must be unique within the Web ACL.
    OverrideAction WebAclRuleOverrideAction
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RuleLabels List<WebAclRuleRuleLabel>
    Labels to apply to matching web requests. See Rule Label below.
    Statement WebAclRuleStatement
    Rule statement. See Statement below.
    Timeouts WebAclRuleTimeouts
    VisibilityConfig WebAclRuleVisibilityConfig
    CloudWatch metrics configuration. See Visibility Config below.
    Priority int
    Rule priority. Rules with lower priority are evaluated first.
    WebAclArn string

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    Action WebAclRuleActionArgs
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    CaptchaConfig WebAclRuleCaptchaConfigArgs
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    ChallengeConfig WebAclRuleChallengeConfigArgs
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    Name string
    Name of the rule. Must be unique within the Web ACL.
    OverrideAction WebAclRuleOverrideActionArgs
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RuleLabels []WebAclRuleRuleLabelArgs
    Labels to apply to matching web requests. See Rule Label below.
    Statement WebAclRuleStatementArgs
    Rule statement. See Statement below.
    Timeouts WebAclRuleTimeoutsArgs
    VisibilityConfig WebAclRuleVisibilityConfigArgs
    CloudWatch metrics configuration. See Visibility Config below.
    priority Integer
    Rule priority. Rules with lower priority are evaluated first.
    webAclArn String

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    action WebAclRuleAction
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    captchaConfig WebAclRuleCaptchaConfig
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    challengeConfig WebAclRuleChallengeConfig
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    name String
    Name of the rule. Must be unique within the Web ACL.
    overrideAction WebAclRuleOverrideAction
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ruleLabels List<WebAclRuleRuleLabel>
    Labels to apply to matching web requests. See Rule Label below.
    statement WebAclRuleStatement
    Rule statement. See Statement below.
    timeouts WebAclRuleTimeouts
    visibilityConfig WebAclRuleVisibilityConfig
    CloudWatch metrics configuration. See Visibility Config below.
    priority number
    Rule priority. Rules with lower priority are evaluated first.
    webAclArn string

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    action WebAclRuleAction
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    captchaConfig WebAclRuleCaptchaConfig
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    challengeConfig WebAclRuleChallengeConfig
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    name string
    Name of the rule. Must be unique within the Web ACL.
    overrideAction WebAclRuleOverrideAction
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ruleLabels WebAclRuleRuleLabel[]
    Labels to apply to matching web requests. See Rule Label below.
    statement WebAclRuleStatement
    Rule statement. See Statement below.
    timeouts WebAclRuleTimeouts
    visibilityConfig WebAclRuleVisibilityConfig
    CloudWatch metrics configuration. See Visibility Config below.
    priority int
    Rule priority. Rules with lower priority are evaluated first.
    web_acl_arn str

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    action WebAclRuleActionArgs
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    captcha_config WebAclRuleCaptchaConfigArgs
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    challenge_config WebAclRuleChallengeConfigArgs
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    name str
    Name of the rule. Must be unique within the Web ACL.
    override_action WebAclRuleOverrideActionArgs
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    rule_labels Sequence[WebAclRuleRuleLabelArgs]
    Labels to apply to matching web requests. See Rule Label below.
    statement WebAclRuleStatementArgs
    Rule statement. See Statement below.
    timeouts WebAclRuleTimeoutsArgs
    visibility_config WebAclRuleVisibilityConfigArgs
    CloudWatch metrics configuration. See Visibility Config below.
    priority Number
    Rule priority. Rules with lower priority are evaluated first.
    webAclArn String

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    action Property Map
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    captchaConfig Property Map
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    challengeConfig Property Map
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    name String
    Name of the rule. Must be unique within the Web ACL.
    overrideAction Property Map
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ruleLabels List<Property Map>
    Labels to apply to matching web requests. See Rule Label below.
    statement Property Map
    Rule statement. See Statement below.
    timeouts Property Map
    visibilityConfig Property Map
    CloudWatch metrics configuration. See Visibility Config below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WebAclRule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WebAclRule Resource

    Get an existing WebAclRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WebAclRuleState, opts?: CustomResourceOptions): WebAclRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[WebAclRuleActionArgs] = None,
            captcha_config: Optional[WebAclRuleCaptchaConfigArgs] = None,
            challenge_config: Optional[WebAclRuleChallengeConfigArgs] = None,
            name: Optional[str] = None,
            override_action: Optional[WebAclRuleOverrideActionArgs] = None,
            priority: Optional[int] = None,
            region: Optional[str] = None,
            rule_labels: Optional[Sequence[WebAclRuleRuleLabelArgs]] = None,
            statement: Optional[WebAclRuleStatementArgs] = None,
            timeouts: Optional[WebAclRuleTimeoutsArgs] = None,
            visibility_config: Optional[WebAclRuleVisibilityConfigArgs] = None,
            web_acl_arn: Optional[str] = None) -> WebAclRule
    func GetWebAclRule(ctx *Context, name string, id IDInput, state *WebAclRuleState, opts ...ResourceOption) (*WebAclRule, error)
    public static WebAclRule Get(string name, Input<string> id, WebAclRuleState? state, CustomResourceOptions? opts = null)
    public static WebAclRule get(String name, Output<String> id, WebAclRuleState state, CustomResourceOptions options)
    resources:  _:    type: aws:wafv2:WebAclRule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Action WebAclRuleAction
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    CaptchaConfig WebAclRuleCaptchaConfig
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    ChallengeConfig WebAclRuleChallengeConfig
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    Name string
    Name of the rule. Must be unique within the Web ACL.
    OverrideAction WebAclRuleOverrideAction
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    Priority int
    Rule priority. Rules with lower priority are evaluated first.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RuleLabels List<WebAclRuleRuleLabel>
    Labels to apply to matching web requests. See Rule Label below.
    Statement WebAclRuleStatement
    Rule statement. See Statement below.
    Timeouts WebAclRuleTimeouts
    VisibilityConfig WebAclRuleVisibilityConfig
    CloudWatch metrics configuration. See Visibility Config below.
    WebAclArn string

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    Action WebAclRuleActionArgs
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    CaptchaConfig WebAclRuleCaptchaConfigArgs
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    ChallengeConfig WebAclRuleChallengeConfigArgs
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    Name string
    Name of the rule. Must be unique within the Web ACL.
    OverrideAction WebAclRuleOverrideActionArgs
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    Priority int
    Rule priority. Rules with lower priority are evaluated first.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RuleLabels []WebAclRuleRuleLabelArgs
    Labels to apply to matching web requests. See Rule Label below.
    Statement WebAclRuleStatementArgs
    Rule statement. See Statement below.
    Timeouts WebAclRuleTimeoutsArgs
    VisibilityConfig WebAclRuleVisibilityConfigArgs
    CloudWatch metrics configuration. See Visibility Config below.
    WebAclArn string

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    action WebAclRuleAction
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    captchaConfig WebAclRuleCaptchaConfig
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    challengeConfig WebAclRuleChallengeConfig
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    name String
    Name of the rule. Must be unique within the Web ACL.
    overrideAction WebAclRuleOverrideAction
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    priority Integer
    Rule priority. Rules with lower priority are evaluated first.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ruleLabels List<WebAclRuleRuleLabel>
    Labels to apply to matching web requests. See Rule Label below.
    statement WebAclRuleStatement
    Rule statement. See Statement below.
    timeouts WebAclRuleTimeouts
    visibilityConfig WebAclRuleVisibilityConfig
    CloudWatch metrics configuration. See Visibility Config below.
    webAclArn String

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    action WebAclRuleAction
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    captchaConfig WebAclRuleCaptchaConfig
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    challengeConfig WebAclRuleChallengeConfig
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    name string
    Name of the rule. Must be unique within the Web ACL.
    overrideAction WebAclRuleOverrideAction
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    priority number
    Rule priority. Rules with lower priority are evaluated first.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ruleLabels WebAclRuleRuleLabel[]
    Labels to apply to matching web requests. See Rule Label below.
    statement WebAclRuleStatement
    Rule statement. See Statement below.
    timeouts WebAclRuleTimeouts
    visibilityConfig WebAclRuleVisibilityConfig
    CloudWatch metrics configuration. See Visibility Config below.
    webAclArn string

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    action WebAclRuleActionArgs
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    captcha_config WebAclRuleCaptchaConfigArgs
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    challenge_config WebAclRuleChallengeConfigArgs
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    name str
    Name of the rule. Must be unique within the Web ACL.
    override_action WebAclRuleOverrideActionArgs
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    priority int
    Rule priority. Rules with lower priority are evaluated first.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    rule_labels Sequence[WebAclRuleRuleLabelArgs]
    Labels to apply to matching web requests. See Rule Label below.
    statement WebAclRuleStatementArgs
    Rule statement. See Statement below.
    timeouts WebAclRuleTimeoutsArgs
    visibility_config WebAclRuleVisibilityConfigArgs
    CloudWatch metrics configuration. See Visibility Config below.
    web_acl_arn str

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    action Property Map
    Action to take when the rule matches. See Action below. Conflicts with overrideAction.
    captchaConfig Property Map
    CAPTCHA configuration that overrides the web ACL level setting. See Captcha Config below.
    challengeConfig Property Map
    Challenge configuration that overrides the web ACL level setting. See Challenge Config below.
    name String
    Name of the rule. Must be unique within the Web ACL.
    overrideAction Property Map
    Override action for managed rule groups. See Override Action below. Conflicts with action.
    priority Number
    Rule priority. Rules with lower priority are evaluated first.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ruleLabels List<Property Map>
    Labels to apply to matching web requests. See Rule Label below.
    statement Property Map
    Rule statement. See Statement below.
    timeouts Property Map
    visibilityConfig Property Map
    CloudWatch metrics configuration. See Visibility Config below.
    webAclArn String

    ARN of the Web ACL to add the rule to.

    The following arguments are optional:

    Supporting Types

    Note: There are over 200 nested types for this resource. Only the first 200 types are included in this documentation.

    WebAclRuleAction, WebAclRuleActionArgs

    Allow WebAclRuleActionAllow
    Allow the request. See Allow below.
    Block WebAclRuleActionBlock
    Block the request. See Block below.
    Captcha WebAclRuleActionCaptcha
    Present a CAPTCHA challenge. See Captcha below.
    Challenge WebAclRuleActionChallenge
    Present a silent challenge. See Challenge below.
    Count WebAclRuleActionCount
    Count the request without blocking. See Count below.
    Allow WebAclRuleActionAllow
    Allow the request. See Allow below.
    Block WebAclRuleActionBlock
    Block the request. See Block below.
    Captcha WebAclRuleActionCaptcha
    Present a CAPTCHA challenge. See Captcha below.
    Challenge WebAclRuleActionChallenge
    Present a silent challenge. See Challenge below.
    Count WebAclRuleActionCount
    Count the request without blocking. See Count below.
    allow WebAclRuleActionAllow
    Allow the request. See Allow below.
    block WebAclRuleActionBlock
    Block the request. See Block below.
    captcha WebAclRuleActionCaptcha
    Present a CAPTCHA challenge. See Captcha below.
    challenge WebAclRuleActionChallenge
    Present a silent challenge. See Challenge below.
    count WebAclRuleActionCount
    Count the request without blocking. See Count below.
    allow WebAclRuleActionAllow
    Allow the request. See Allow below.
    block WebAclRuleActionBlock
    Block the request. See Block below.
    captcha WebAclRuleActionCaptcha
    Present a CAPTCHA challenge. See Captcha below.
    challenge WebAclRuleActionChallenge
    Present a silent challenge. See Challenge below.
    count WebAclRuleActionCount
    Count the request without blocking. See Count below.
    allow WebAclRuleActionAllow
    Allow the request. See Allow below.
    block WebAclRuleActionBlock
    Block the request. See Block below.
    captcha WebAclRuleActionCaptcha
    Present a CAPTCHA challenge. See Captcha below.
    challenge WebAclRuleActionChallenge
    Present a silent challenge. See Challenge below.
    count WebAclRuleActionCount
    Count the request without blocking. See Count below.
    allow Property Map
    Allow the request. See Allow below.
    block Property Map
    Block the request. See Block below.
    captcha Property Map
    Present a CAPTCHA challenge. See Captcha below.
    challenge Property Map
    Present a silent challenge. See Challenge below.
    count Property Map
    Count the request without blocking. See Count below.

    WebAclRuleActionAllow, WebAclRuleActionAllowArgs

    CustomRequestHandling WebAclRuleActionAllowCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    CustomRequestHandling WebAclRuleActionAllowCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling WebAclRuleActionAllowCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling WebAclRuleActionAllowCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    custom_request_handling WebAclRuleActionAllowCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling Property Map
    Custom request handling configuration. See Custom Request Handling below.

    WebAclRuleActionAllowCustomRequestHandling, WebAclRuleActionAllowCustomRequestHandlingArgs

    InsertHeaders List<WebAclRuleActionAllowCustomRequestHandlingInsertHeader>
    Custom headers to insert into the request. See Insert Header below.
    InsertHeaders []WebAclRuleActionAllowCustomRequestHandlingInsertHeader
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders List<WebAclRuleActionAllowCustomRequestHandlingInsertHeader>
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders WebAclRuleActionAllowCustomRequestHandlingInsertHeader[]
    Custom headers to insert into the request. See Insert Header below.
    insert_headers Sequence[WebAclRuleActionAllowCustomRequestHandlingInsertHeader]
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders List<Property Map>
    Custom headers to insert into the request. See Insert Header below.

    WebAclRuleActionAllowCustomRequestHandlingInsertHeader, WebAclRuleActionAllowCustomRequestHandlingInsertHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleActionBlock, WebAclRuleActionBlockArgs

    CustomResponse WebAclRuleActionBlockCustomResponse
    Custom response configuration. See Custom Response below.
    CustomResponse WebAclRuleActionBlockCustomResponse
    Custom response configuration. See Custom Response below.
    customResponse WebAclRuleActionBlockCustomResponse
    Custom response configuration. See Custom Response below.
    customResponse WebAclRuleActionBlockCustomResponse
    Custom response configuration. See Custom Response below.
    custom_response WebAclRuleActionBlockCustomResponse
    Custom response configuration. See Custom Response below.
    customResponse Property Map
    Custom response configuration. See Custom Response below.

    WebAclRuleActionBlockCustomResponse, WebAclRuleActionBlockCustomResponseArgs

    ResponseCode int
    HTTP status code to return (200-599).
    CustomResponseBodyKey string
    Key of a custom response body defined in the Web ACL.
    ResponseHeaders List<WebAclRuleActionBlockCustomResponseResponseHeader>
    Custom headers to include in the response. See Response Header below.
    ResponseCode int
    HTTP status code to return (200-599).
    CustomResponseBodyKey string
    Key of a custom response body defined in the Web ACL.
    ResponseHeaders []WebAclRuleActionBlockCustomResponseResponseHeader
    Custom headers to include in the response. See Response Header below.
    responseCode Integer
    HTTP status code to return (200-599).
    customResponseBodyKey String
    Key of a custom response body defined in the Web ACL.
    responseHeaders List<WebAclRuleActionBlockCustomResponseResponseHeader>
    Custom headers to include in the response. See Response Header below.
    responseCode number
    HTTP status code to return (200-599).
    customResponseBodyKey string
    Key of a custom response body defined in the Web ACL.
    responseHeaders WebAclRuleActionBlockCustomResponseResponseHeader[]
    Custom headers to include in the response. See Response Header below.
    response_code int
    HTTP status code to return (200-599).
    custom_response_body_key str
    Key of a custom response body defined in the Web ACL.
    response_headers Sequence[WebAclRuleActionBlockCustomResponseResponseHeader]
    Custom headers to include in the response. See Response Header below.
    responseCode Number
    HTTP status code to return (200-599).
    customResponseBodyKey String
    Key of a custom response body defined in the Web ACL.
    responseHeaders List<Property Map>
    Custom headers to include in the response. See Response Header below.

    WebAclRuleActionBlockCustomResponseResponseHeader, WebAclRuleActionBlockCustomResponseResponseHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleActionCaptcha, WebAclRuleActionCaptchaArgs

    CustomRequestHandling WebAclRuleActionCaptchaCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    CustomRequestHandling WebAclRuleActionCaptchaCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling WebAclRuleActionCaptchaCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling WebAclRuleActionCaptchaCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    custom_request_handling WebAclRuleActionCaptchaCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling Property Map
    Custom request handling configuration. See Custom Request Handling below.

    WebAclRuleActionCaptchaCustomRequestHandling, WebAclRuleActionCaptchaCustomRequestHandlingArgs

    InsertHeaders List<WebAclRuleActionCaptchaCustomRequestHandlingInsertHeader>
    Custom headers to insert into the request. See Insert Header below.
    InsertHeaders []WebAclRuleActionCaptchaCustomRequestHandlingInsertHeader
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders List<WebAclRuleActionCaptchaCustomRequestHandlingInsertHeader>
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders WebAclRuleActionCaptchaCustomRequestHandlingInsertHeader[]
    Custom headers to insert into the request. See Insert Header below.
    insert_headers Sequence[WebAclRuleActionCaptchaCustomRequestHandlingInsertHeader]
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders List<Property Map>
    Custom headers to insert into the request. See Insert Header below.

    WebAclRuleActionCaptchaCustomRequestHandlingInsertHeader, WebAclRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleActionChallenge, WebAclRuleActionChallengeArgs

    CustomRequestHandling WebAclRuleActionChallengeCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    CustomRequestHandling WebAclRuleActionChallengeCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling WebAclRuleActionChallengeCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling WebAclRuleActionChallengeCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    custom_request_handling WebAclRuleActionChallengeCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling Property Map
    Custom request handling configuration. See Custom Request Handling below.

    WebAclRuleActionChallengeCustomRequestHandling, WebAclRuleActionChallengeCustomRequestHandlingArgs

    InsertHeaders List<WebAclRuleActionChallengeCustomRequestHandlingInsertHeader>
    Custom headers to insert into the request. See Insert Header below.
    InsertHeaders []WebAclRuleActionChallengeCustomRequestHandlingInsertHeader
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders List<WebAclRuleActionChallengeCustomRequestHandlingInsertHeader>
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders WebAclRuleActionChallengeCustomRequestHandlingInsertHeader[]
    Custom headers to insert into the request. See Insert Header below.
    insert_headers Sequence[WebAclRuleActionChallengeCustomRequestHandlingInsertHeader]
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders List<Property Map>
    Custom headers to insert into the request. See Insert Header below.

    WebAclRuleActionChallengeCustomRequestHandlingInsertHeader, WebAclRuleActionChallengeCustomRequestHandlingInsertHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleActionCount, WebAclRuleActionCountArgs

    CustomRequestHandling WebAclRuleActionCountCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    CustomRequestHandling WebAclRuleActionCountCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling WebAclRuleActionCountCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling WebAclRuleActionCountCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    custom_request_handling WebAclRuleActionCountCustomRequestHandling
    Custom request handling configuration. See Custom Request Handling below.
    customRequestHandling Property Map
    Custom request handling configuration. See Custom Request Handling below.

    WebAclRuleActionCountCustomRequestHandling, WebAclRuleActionCountCustomRequestHandlingArgs

    InsertHeaders List<WebAclRuleActionCountCustomRequestHandlingInsertHeader>
    Custom headers to insert into the request. See Insert Header below.
    InsertHeaders []WebAclRuleActionCountCustomRequestHandlingInsertHeader
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders List<WebAclRuleActionCountCustomRequestHandlingInsertHeader>
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders WebAclRuleActionCountCustomRequestHandlingInsertHeader[]
    Custom headers to insert into the request. See Insert Header below.
    insert_headers Sequence[WebAclRuleActionCountCustomRequestHandlingInsertHeader]
    Custom headers to insert into the request. See Insert Header below.
    insertHeaders List<Property Map>
    Custom headers to insert into the request. See Insert Header below.

    WebAclRuleActionCountCustomRequestHandlingInsertHeader, WebAclRuleActionCountCustomRequestHandlingInsertHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleCaptchaConfig, WebAclRuleCaptchaConfigArgs

    ImmunityTimeProperty WebAclRuleCaptchaConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    ImmunityTimeProperty WebAclRuleCaptchaConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    immunityTimeProperty WebAclRuleCaptchaConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    immunityTimeProperty WebAclRuleCaptchaConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    immunity_time_property WebAclRuleCaptchaConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    immunityTimeProperty Property Map
    Immunity time configuration. See Immunity Time Property below.

    WebAclRuleCaptchaConfigImmunityTimeProperty, WebAclRuleCaptchaConfigImmunityTimePropertyArgs

    ImmunityTime int
    Immunity time in seconds (60-259200).
    ImmunityTime int
    Immunity time in seconds (60-259200).
    immunityTime Integer
    Immunity time in seconds (60-259200).
    immunityTime number
    Immunity time in seconds (60-259200).
    immunity_time int
    Immunity time in seconds (60-259200).
    immunityTime Number
    Immunity time in seconds (60-259200).

    WebAclRuleChallengeConfig, WebAclRuleChallengeConfigArgs

    ImmunityTimeProperty WebAclRuleChallengeConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    ImmunityTimeProperty WebAclRuleChallengeConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    immunityTimeProperty WebAclRuleChallengeConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    immunityTimeProperty WebAclRuleChallengeConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    immunity_time_property WebAclRuleChallengeConfigImmunityTimeProperty
    Immunity time configuration. See Immunity Time Property below.
    immunityTimeProperty Property Map
    Immunity time configuration. See Immunity Time Property below.

    WebAclRuleChallengeConfigImmunityTimeProperty, WebAclRuleChallengeConfigImmunityTimePropertyArgs

    ImmunityTime int
    Immunity time in seconds (60-259200).
    ImmunityTime int
    Immunity time in seconds (60-259200).
    immunityTime Integer
    Immunity time in seconds (60-259200).
    immunityTime number
    Immunity time in seconds (60-259200).
    immunity_time int
    Immunity time in seconds (60-259200).
    immunityTime Number
    Immunity time in seconds (60-259200).

    WebAclRuleOverrideAction, WebAclRuleOverrideActionArgs

    Count WebAclRuleOverrideActionCount
    Override the rule action with count.
    None WebAclRuleOverrideActionNone
    Don't override the rule action.
    Count WebAclRuleOverrideActionCount
    Override the rule action with count.
    None WebAclRuleOverrideActionNone
    Don't override the rule action.
    count WebAclRuleOverrideActionCount
    Override the rule action with count.
    none WebAclRuleOverrideActionNone
    Don't override the rule action.
    count WebAclRuleOverrideActionCount
    Override the rule action with count.
    none WebAclRuleOverrideActionNone
    Don't override the rule action.
    count WebAclRuleOverrideActionCount
    Override the rule action with count.
    none WebAclRuleOverrideActionNone
    Don't override the rule action.
    count Property Map
    Override the rule action with count.
    none Property Map
    Don't override the rule action.

    WebAclRuleRuleLabel, WebAclRuleRuleLabelArgs

    Name string
    Label string (1-1024 characters, alphanumeric, underscore, hyphen, and colon characters only).
    Name string
    Label string (1-1024 characters, alphanumeric, underscore, hyphen, and colon characters only).
    name String
    Label string (1-1024 characters, alphanumeric, underscore, hyphen, and colon characters only).
    name string
    Label string (1-1024 characters, alphanumeric, underscore, hyphen, and colon characters only).
    name str
    Label string (1-1024 characters, alphanumeric, underscore, hyphen, and colon characters only).
    name String
    Label string (1-1024 characters, alphanumeric, underscore, hyphen, and colon characters only).

    WebAclRuleStatement, WebAclRuleStatementArgs

    AndStatement WebAclRuleStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    AsnMatchStatement WebAclRuleStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    ByteMatchStatement WebAclRuleStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    GeoMatchStatement WebAclRuleStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    IpSetReferenceStatement WebAclRuleStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    LabelMatchStatement WebAclRuleStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    ManagedRuleGroupStatement WebAclRuleStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    NotStatement WebAclRuleStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    OrStatement WebAclRuleStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    RateBasedStatement WebAclRuleStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    RegexMatchStatement WebAclRuleStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    RegexPatternSetReferenceStatement WebAclRuleStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    RuleGroupReferenceStatement WebAclRuleStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    SizeConstraintStatement WebAclRuleStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    SqliMatchStatement WebAclRuleStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    XssMatchStatement WebAclRuleStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    AndStatement WebAclRuleStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    AsnMatchStatement WebAclRuleStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    ByteMatchStatement WebAclRuleStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    GeoMatchStatement WebAclRuleStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    IpSetReferenceStatement WebAclRuleStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    LabelMatchStatement WebAclRuleStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    ManagedRuleGroupStatement WebAclRuleStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    NotStatement WebAclRuleStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    OrStatement WebAclRuleStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    RateBasedStatement WebAclRuleStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    RegexMatchStatement WebAclRuleStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    RegexPatternSetReferenceStatement WebAclRuleStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    RuleGroupReferenceStatement WebAclRuleStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    SizeConstraintStatement WebAclRuleStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    SqliMatchStatement WebAclRuleStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    XssMatchStatement WebAclRuleStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    andStatement WebAclRuleStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    asnMatchStatement WebAclRuleStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    byteMatchStatement WebAclRuleStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    geoMatchStatement WebAclRuleStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    ipSetReferenceStatement WebAclRuleStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    labelMatchStatement WebAclRuleStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    managedRuleGroupStatement WebAclRuleStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    notStatement WebAclRuleStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    orStatement WebAclRuleStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    rateBasedStatement WebAclRuleStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    regexMatchStatement WebAclRuleStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    regexPatternSetReferenceStatement WebAclRuleStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    ruleGroupReferenceStatement WebAclRuleStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    sizeConstraintStatement WebAclRuleStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    sqliMatchStatement WebAclRuleStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    xssMatchStatement WebAclRuleStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    andStatement WebAclRuleStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    asnMatchStatement WebAclRuleStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    byteMatchStatement WebAclRuleStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    geoMatchStatement WebAclRuleStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    ipSetReferenceStatement WebAclRuleStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    labelMatchStatement WebAclRuleStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    managedRuleGroupStatement WebAclRuleStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    notStatement WebAclRuleStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    orStatement WebAclRuleStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    rateBasedStatement WebAclRuleStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    regexMatchStatement WebAclRuleStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    regexPatternSetReferenceStatement WebAclRuleStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    ruleGroupReferenceStatement WebAclRuleStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    sizeConstraintStatement WebAclRuleStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    sqliMatchStatement WebAclRuleStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    xssMatchStatement WebAclRuleStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    and_statement WebAclRuleStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    asn_match_statement WebAclRuleStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    byte_match_statement WebAclRuleStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    geo_match_statement WebAclRuleStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    ip_set_reference_statement WebAclRuleStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    label_match_statement WebAclRuleStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    managed_rule_group_statement WebAclRuleStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    not_statement WebAclRuleStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    or_statement WebAclRuleStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    rate_based_statement WebAclRuleStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    regex_match_statement WebAclRuleStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    regex_pattern_set_reference_statement WebAclRuleStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    rule_group_reference_statement WebAclRuleStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    size_constraint_statement WebAclRuleStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    sqli_match_statement WebAclRuleStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    xss_match_statement WebAclRuleStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    andStatement Property Map
    Logical AND statement that combines multiple statements. See And Statement below.
    asnMatchStatement Property Map
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    byteMatchStatement Property Map
    Match requests based on byte patterns. See Byte Match Statement below.
    geoMatchStatement Property Map
    Match requests by geographic location. See Geo Match Statement below.
    ipSetReferenceStatement Property Map
    Reference to an IP set. See IP Set Reference Statement below.
    labelMatchStatement Property Map
    Match requests based on labels. See Label Match Statement below.
    managedRuleGroupStatement Property Map
    Reference to a managed rule group. See Managed Rule Group Statement below.
    notStatement Property Map
    Logical NOT statement that negates a single statement. See Not Statement below.
    orStatement Property Map
    Logical OR statement that combines multiple statements. See Or Statement below.
    rateBasedStatement Property Map
    Rate-based rule to track request rates. See Rate Based Statement below.
    regexMatchStatement Property Map
    Match requests using regex patterns. See Regex Match Statement below.
    regexPatternSetReferenceStatement Property Map
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    ruleGroupReferenceStatement Property Map
    Reference to a rule group. See Rule Group Reference Statement below.
    sizeConstraintStatement Property Map
    Match requests based on size constraints. See Size Constraint Statement below.
    sqliMatchStatement Property Map
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    xssMatchStatement Property Map

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    WebAclRuleStatementAndStatement, WebAclRuleStatementAndStatementArgs

    Statements List<WebAclRuleStatement>
    The statements to combine.
    Statements []WebAclRuleStatement
    The statements to combine.
    statements List<WebAclRuleStatement>
    The statements to combine.
    statements WebAclRuleStatement[]
    The statements to combine.
    statements Sequence[WebAclRuleStatement]
    The statements to combine.
    statements List<Property Map>
    The statements to combine.

    WebAclRuleStatementAsnMatchStatement, WebAclRuleStatementAsnMatchStatementArgs

    AsnLists List<int>
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    ForwardedIpConfig WebAclRuleStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    AsnLists []int
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    ForwardedIpConfig WebAclRuleStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    asnLists List<Integer>
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    forwardedIpConfig WebAclRuleStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    asnLists number[]
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    forwardedIpConfig WebAclRuleStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    asn_lists Sequence[int]
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    forwarded_ip_config WebAclRuleStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    asnLists List<Number>
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    forwardedIpConfig Property Map
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.

    WebAclRuleStatementAsnMatchStatementForwardedIpConfig, WebAclRuleStatementAsnMatchStatementForwardedIpConfigArgs

    FallbackBehavior string
    HeaderName string
    Name of the header containing the forwarded IP address.
    FallbackBehavior string
    HeaderName string
    Name of the header containing the forwarded IP address.
    fallbackBehavior String
    headerName String
    Name of the header containing the forwarded IP address.
    fallbackBehavior string
    headerName string
    Name of the header containing the forwarded IP address.
    fallback_behavior str
    header_name str
    Name of the header containing the forwarded IP address.
    fallbackBehavior String
    headerName String
    Name of the header containing the forwarded IP address.

    WebAclRuleStatementByteMatchStatement, WebAclRuleStatementByteMatchStatementArgs

    PositionalConstraint string
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    SearchString string
    String value to search for within the request (1-200 characters).
    FieldToMatch WebAclRuleStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations List<WebAclRuleStatementByteMatchStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    PositionalConstraint string
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    SearchString string
    String value to search for within the request (1-200 characters).
    FieldToMatch WebAclRuleStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations []WebAclRuleStatementByteMatchStatementTextTransformation
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    positionalConstraint String
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    searchString String
    String value to search for within the request (1-200 characters).
    fieldToMatch WebAclRuleStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<WebAclRuleStatementByteMatchStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    positionalConstraint string
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    searchString string
    String value to search for within the request (1-200 characters).
    fieldToMatch WebAclRuleStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations WebAclRuleStatementByteMatchStatementTextTransformation[]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    positional_constraint str
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    search_string str
    String value to search for within the request (1-200 characters).
    field_to_match WebAclRuleStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    text_transformations Sequence[WebAclRuleStatementByteMatchStatementTextTransformation]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    positionalConstraint String
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    searchString String
    String value to search for within the request (1-200 characters).
    fieldToMatch Property Map
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<Property Map>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.

    WebAclRuleStatementByteMatchStatementFieldToMatch, WebAclRuleStatementByteMatchStatementFieldToMatchArgs

    AllQueryArguments WebAclRuleStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders List<WebAclRuleStatementByteMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers List<WebAclRuleStatementByteMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    AllQueryArguments WebAclRuleStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders []WebAclRuleStatementByteMatchStatementFieldToMatchHeaderOrder
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers []WebAclRuleStatementByteMatchStatementFieldToMatchHeader
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders List<WebAclRuleStatementByteMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<WebAclRuleStatementByteMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders WebAclRuleStatementByteMatchStatementFieldToMatchHeaderOrder[]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers WebAclRuleStatementByteMatchStatementFieldToMatchHeader[]
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    all_query_arguments WebAclRuleStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    header_orders Sequence[WebAclRuleStatementByteMatchStatementFieldToMatchHeaderOrder]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers Sequence[WebAclRuleStatementByteMatchStatementFieldToMatchHeader]
    Inspect the request headers. See Headers below.
    ja3_fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4_fingerprint WebAclRuleStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    json_body WebAclRuleStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    query_string WebAclRuleStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    single_header WebAclRuleStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    single_query_argument WebAclRuleStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uri_fragment WebAclRuleStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uri_path WebAclRuleStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments Property Map
    Inspect all query arguments.
    body Property Map
    Inspect the request body as plain text. See Body below.
    cookies Property Map
    Inspect the request cookies. See Cookies below.
    headerOrders List<Property Map>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<Property Map>
    Inspect the request headers. See Headers below.
    ja3Fingerprint Property Map
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint Property Map
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody Property Map
    Inspect the request body as JSON. See JSON Body below.
    method Property Map
    Inspect the HTTP method.
    queryString Property Map
    Inspect the query string.
    singleHeader Property Map
    Inspect a single header. See Single Header below.
    singleQueryArgument Property Map
    Inspect a single query argument. See Single Query Argument below.
    uriFragment Property Map
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath Property Map
    Inspect the request URI path.

    WebAclRuleStatementByteMatchStatementFieldToMatchBody, WebAclRuleStatementByteMatchStatementFieldToMatchBodyArgs

    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementByteMatchStatementFieldToMatchCookies, WebAclRuleStatementByteMatchStatementFieldToMatchCookiesArgs

    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns List<WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns []WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPattern
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPattern[]
    Cookies to inspect. See Cookies Match Pattern below.
    match_scope str
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_patterns Sequence[WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPattern]
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<Property Map>
    Cookies to inspect. See Cookies Match Pattern below.

    WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPattern, WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPatternArgs

    All WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies List<string>
    List of cookie names to exclude from inspection.
    IncludedCookies List<string>
    List of cookie names to inspect.
    All WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies []string
    List of cookie names to exclude from inspection.
    IncludedCookies []string
    List of cookie names to inspect.
    all WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.
    all WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies string[]
    List of cookie names to exclude from inspection.
    includedCookies string[]
    List of cookie names to inspect.
    all WebAclRuleStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    excluded_cookies Sequence[str]
    List of cookie names to exclude from inspection.
    included_cookies Sequence[str]
    List of cookie names to inspect.
    all Property Map
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.

    WebAclRuleStatementByteMatchStatementFieldToMatchHeader, WebAclRuleStatementByteMatchStatementFieldToMatchHeaderArgs

    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    match_scope str
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern Property Map
    Headers to inspect. See Headers Match Pattern below.

    WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPattern, WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPatternArgs

    All WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders List<string>
    List of header names to exclude from inspection.
    IncludedHeaders List<string>
    List of header names to inspect.
    All WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders []string
    List of header names to exclude from inspection.
    IncludedHeaders []string
    List of header names to inspect.
    all WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.
    all WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders string[]
    List of header names to exclude from inspection.
    includedHeaders string[]
    List of header names to inspect.
    all WebAclRuleStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    excluded_headers Sequence[str]
    List of header names to exclude from inspection.
    included_headers Sequence[str]
    List of header names to inspect.
    all Property Map
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.

    WebAclRuleStatementByteMatchStatementFieldToMatchHeaderOrder, WebAclRuleStatementByteMatchStatementFieldToMatchHeaderOrderArgs

    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.

    WebAclRuleStatementByteMatchStatementFieldToMatchJa3Fingerprint, WebAclRuleStatementByteMatchStatementFieldToMatchJa3FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementByteMatchStatementFieldToMatchJa4Fingerprint, WebAclRuleStatementByteMatchStatementFieldToMatchJa4FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementByteMatchStatementFieldToMatchJsonBody, WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyArgs

    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    match_scope str
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalid_fallback_behavior str
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern Property Map
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern, WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPatternArgs

    All WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPatternAll
    IncludedPaths List<string>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).
    All WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPatternAll
    IncludedPaths []string
    List of JSON pointer expressions to inspect (e.g., /foo/bar).
    all WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPatternAll
    includedPaths List<String>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).
    all WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPatternAll
    includedPaths string[]
    List of JSON pointer expressions to inspect (e.g., /foo/bar).
    all WebAclRuleStatementByteMatchStatementFieldToMatchJsonBodyMatchPatternAll
    included_paths Sequence[str]
    List of JSON pointer expressions to inspect (e.g., /foo/bar).
    all Property Map
    includedPaths List<String>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).

    WebAclRuleStatementByteMatchStatementFieldToMatchSingleHeader, WebAclRuleStatementByteMatchStatementFieldToMatchSingleHeaderArgs

    Name string
    Name of the header to inspect (case insensitive).
    Name string
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).
    name string
    Name of the header to inspect (case insensitive).
    name str
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).

    WebAclRuleStatementByteMatchStatementFieldToMatchSingleQueryArgument, WebAclRuleStatementByteMatchStatementFieldToMatchSingleQueryArgumentArgs

    Name string
    Name of the query argument to inspect.
    Name string
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.
    name string
    Name of the query argument to inspect.
    name str
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.

    WebAclRuleStatementByteMatchStatementFieldToMatchUriFragment, WebAclRuleStatementByteMatchStatementFieldToMatchUriFragmentArgs

    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementByteMatchStatementTextTransformation, WebAclRuleStatementByteMatchStatementTextTransformationArgs

    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Integer
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority number
    Relative processing order for multiple transformations (0-based).
    type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority int
    Relative processing order for multiple transformations (0-based).
    type str
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Number
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.

    WebAclRuleStatementGeoMatchStatement, WebAclRuleStatementGeoMatchStatementArgs

    CountryCodes List<string>
    List of two-character country codes (ISO 3166-1 alpha-2).
    ForwardedIpConfig WebAclRuleStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    CountryCodes []string
    List of two-character country codes (ISO 3166-1 alpha-2).
    ForwardedIpConfig WebAclRuleStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    countryCodes List<String>
    List of two-character country codes (ISO 3166-1 alpha-2).
    forwardedIpConfig WebAclRuleStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    countryCodes string[]
    List of two-character country codes (ISO 3166-1 alpha-2).
    forwardedIpConfig WebAclRuleStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    country_codes Sequence[str]
    List of two-character country codes (ISO 3166-1 alpha-2).
    forwarded_ip_config WebAclRuleStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    countryCodes List<String>
    List of two-character country codes (ISO 3166-1 alpha-2).
    forwardedIpConfig Property Map
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.

    WebAclRuleStatementGeoMatchStatementForwardedIpConfig, WebAclRuleStatementGeoMatchStatementForwardedIpConfigArgs

    FallbackBehavior string
    HeaderName string
    Name of the header containing the forwarded IP address.
    FallbackBehavior string
    HeaderName string
    Name of the header containing the forwarded IP address.
    fallbackBehavior String
    headerName String
    Name of the header containing the forwarded IP address.
    fallbackBehavior string
    headerName string
    Name of the header containing the forwarded IP address.
    fallback_behavior str
    header_name str
    Name of the header containing the forwarded IP address.
    fallbackBehavior String
    headerName String
    Name of the header containing the forwarded IP address.

    WebAclRuleStatementIpSetReferenceStatement, WebAclRuleStatementIpSetReferenceStatementArgs

    Arn string
    ARN of the IP set to reference.
    IpSetForwardedIpConfig WebAclRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    Arn string
    ARN of the IP set to reference.
    IpSetForwardedIpConfig WebAclRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    arn String
    ARN of the IP set to reference.
    ipSetForwardedIpConfig WebAclRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    arn string
    ARN of the IP set to reference.
    ipSetForwardedIpConfig WebAclRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    arn str
    ARN of the IP set to reference.
    ip_set_forwarded_ip_config WebAclRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    arn String
    ARN of the IP set to reference.
    ipSetForwardedIpConfig Property Map
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.

    WebAclRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig, WebAclRuleStatementIpSetReferenceStatementIpSetForwardedIpConfigArgs

    FallbackBehavior string
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    HeaderName string
    Name of the header containing the forwarded IP address.
    Position string
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    FallbackBehavior string
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    HeaderName string
    Name of the header containing the forwarded IP address.
    Position string
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    fallbackBehavior String
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    headerName String
    Name of the header containing the forwarded IP address.
    position String
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    fallbackBehavior string
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    headerName string
    Name of the header containing the forwarded IP address.
    position string
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    fallback_behavior str
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    header_name str
    Name of the header containing the forwarded IP address.
    position str
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    fallbackBehavior String
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    headerName String
    Name of the header containing the forwarded IP address.
    position String
    Position in the header to use. Valid values: FIRST, LAST, ANY.

    WebAclRuleStatementLabelMatchStatement, WebAclRuleStatementLabelMatchStatementArgs

    Key string
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    Scope string
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    Key string
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    Scope string
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    key String
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    scope String
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    key string
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    scope string
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    key str
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    scope str
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    key String
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    scope String
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.

    WebAclRuleStatementManagedRuleGroupStatement, WebAclRuleStatementManagedRuleGroupStatementArgs

    Name string
    Name of the managed rule group.
    VendorName string
    Name of the managed rule group vendor (e.g., "AWS").
    ManagedRuleGroupConfigs List<WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfig>
    RuleActionOverrides List<WebAclRuleStatementManagedRuleGroupStatementRuleActionOverride>
    Override actions for specific rules within the managed rule group. See Rule Action Override below.
    ScopeDownStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatement
    Additional statement to narrow the scope of requests that the managed rule group evaluates. See Scope Down Statement below.
    Version string
    Version of the managed rule group.
    Name string
    Name of the managed rule group.
    VendorName string
    Name of the managed rule group vendor (e.g., "AWS").
    ManagedRuleGroupConfigs []WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfig
    RuleActionOverrides []WebAclRuleStatementManagedRuleGroupStatementRuleActionOverride
    Override actions for specific rules within the managed rule group. See Rule Action Override below.
    ScopeDownStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatement
    Additional statement to narrow the scope of requests that the managed rule group evaluates. See Scope Down Statement below.
    Version string
    Version of the managed rule group.
    name String
    Name of the managed rule group.
    vendorName String
    Name of the managed rule group vendor (e.g., "AWS").
    managedRuleGroupConfigs List<WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfig>
    ruleActionOverrides List<WebAclRuleStatementManagedRuleGroupStatementRuleActionOverride>
    Override actions for specific rules within the managed rule group. See Rule Action Override below.
    scopeDownStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatement
    Additional statement to narrow the scope of requests that the managed rule group evaluates. See Scope Down Statement below.
    version String
    Version of the managed rule group.
    name string
    Name of the managed rule group.
    vendorName string
    Name of the managed rule group vendor (e.g., "AWS").
    managedRuleGroupConfigs WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfig[]
    ruleActionOverrides WebAclRuleStatementManagedRuleGroupStatementRuleActionOverride[]
    Override actions for specific rules within the managed rule group. See Rule Action Override below.
    scopeDownStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatement
    Additional statement to narrow the scope of requests that the managed rule group evaluates. See Scope Down Statement below.
    version string
    Version of the managed rule group.
    name str
    Name of the managed rule group.
    vendor_name str
    Name of the managed rule group vendor (e.g., "AWS").
    managed_rule_group_configs Sequence[WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfig]
    rule_action_overrides Sequence[WebAclRuleStatementManagedRuleGroupStatementRuleActionOverride]
    Override actions for specific rules within the managed rule group. See Rule Action Override below.
    scope_down_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatement
    Additional statement to narrow the scope of requests that the managed rule group evaluates. See Scope Down Statement below.
    version str
    Version of the managed rule group.
    name String
    Name of the managed rule group.
    vendorName String
    Name of the managed rule group vendor (e.g., "AWS").
    managedRuleGroupConfigs List<Property Map>
    ruleActionOverrides List<Property Map>
    Override actions for specific rules within the managed rule group. See Rule Action Override below.
    scopeDownStatement Property Map
    Additional statement to narrow the scope of requests that the managed rule group evaluates. See Scope Down Statement below.
    version String
    Version of the managed rule group.

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfig, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigArgs

    AwsManagedRulesAcfpRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSet
    AwsManagedRulesAntiDdosRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSet
    AwsManagedRulesAtpRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSet
    AwsManagedRulesBotControlRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesBotControlRuleSet
    LoginPath string

    Deprecated: Use awsManagedRulesAtpRuleSet login_path

    PasswordField WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigPasswordField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection password_field

    PayloadType string

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection payload_type

    UsernameField WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigUsernameField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection username_field

    AwsManagedRulesAcfpRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSet
    AwsManagedRulesAntiDdosRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSet
    AwsManagedRulesAtpRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSet
    AwsManagedRulesBotControlRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesBotControlRuleSet
    LoginPath string

    Deprecated: Use awsManagedRulesAtpRuleSet login_path

    PasswordField WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigPasswordField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection password_field

    PayloadType string

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection payload_type

    UsernameField WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigUsernameField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection username_field

    awsManagedRulesAcfpRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSet
    awsManagedRulesAntiDdosRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSet
    awsManagedRulesAtpRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSet
    awsManagedRulesBotControlRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesBotControlRuleSet
    loginPath String

    Deprecated: Use awsManagedRulesAtpRuleSet login_path

    passwordField WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigPasswordField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection password_field

    payloadType String

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection payload_type

    usernameField WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigUsernameField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection username_field

    awsManagedRulesAcfpRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSet
    awsManagedRulesAntiDdosRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSet
    awsManagedRulesAtpRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSet
    awsManagedRulesBotControlRuleSet WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesBotControlRuleSet
    loginPath string

    Deprecated: Use awsManagedRulesAtpRuleSet login_path

    passwordField WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigPasswordField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection password_field

    payloadType string

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection payload_type

    usernameField WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigUsernameField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection username_field

    aws_managed_rules_acfp_rule_set WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSet
    aws_managed_rules_anti_ddos_rule_set WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSet
    aws_managed_rules_atp_rule_set WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSet
    aws_managed_rules_bot_control_rule_set WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesBotControlRuleSet
    login_path str

    Deprecated: Use awsManagedRulesAtpRuleSet login_path

    password_field WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigPasswordField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection password_field

    payload_type str

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection payload_type

    username_field WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigUsernameField

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection username_field

    awsManagedRulesAcfpRuleSet Property Map
    awsManagedRulesAntiDdosRuleSet Property Map
    awsManagedRulesAtpRuleSet Property Map
    awsManagedRulesBotControlRuleSet Property Map
    loginPath String

    Deprecated: Use awsManagedRulesAtpRuleSet login_path

    passwordField Property Map

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection password_field

    payloadType String

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection payload_type

    usernameField Property Map

    Deprecated: Use awsManagedRulesAtpRuleSet request_inspection username_field

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSet, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetArgs

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionArgs

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs

    Identifiers List<string>
    Identifiers []string
    identifiers List<String>
    identifiers string[]
    identifiers Sequence[str]
    identifiers List<String>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionEmailField, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionEmailFieldArgs

    Identifier string
    Identifier string
    identifier String
    identifier string
    identifier String

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs

    Identifier string
    Identifier string
    identifier String
    identifier string
    identifier String

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs

    Identifiers List<string>
    Identifiers []string
    identifiers List<String>
    identifiers string[]
    identifiers Sequence[str]
    identifiers List<String>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs

    Identifier string
    Identifier string
    identifier String
    identifier string
    identifier String

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspection, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionArgs

    bodyContains Property Map
    header Property Map
    Use a header as an aggregate key. See Custom Key Header below.
    json Property Map
    statusCode Property Map

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs

    FailureStrings List<string>
    SuccessStrings List<string>
    failureStrings List<String>
    successStrings List<String>
    failure_strings Sequence[str]
    success_strings Sequence[str]
    failureStrings List<String>
    successStrings List<String>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionHeader, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionHeaderArgs

    FailureValues List<string>
    Name string
    Name of the rule. Must be unique within the Web ACL.
    SuccessValues List<string>
    FailureValues []string
    Name string
    Name of the rule. Must be unique within the Web ACL.
    SuccessValues []string
    failureValues List<String>
    name String
    Name of the rule. Must be unique within the Web ACL.
    successValues List<String>
    failureValues string[]
    name string
    Name of the rule. Must be unique within the Web ACL.
    successValues string[]
    failure_values Sequence[str]
    name str
    Name of the rule. Must be unique within the Web ACL.
    success_values Sequence[str]
    failureValues List<String>
    name String
    Name of the rule. Must be unique within the Web ACL.
    successValues List<String>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJson, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs

    FailureValues List<string>
    Identifier string
    SuccessValues List<string>
    FailureValues []string
    Identifier string
    SuccessValues []string
    failureValues List<String>
    identifier String
    successValues List<String>
    failureValues string[]
    identifier string
    successValues string[]
    failure_values Sequence[str]
    identifier str
    success_values Sequence[str]
    failureValues List<String>
    identifier String
    successValues List<String>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionStatusCode, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionStatusCodeArgs

    FailureCodes List<int>
    SuccessCodes List<int>
    failureCodes List<Integer>
    successCodes List<Integer>
    failureCodes number[]
    successCodes number[]
    failure_codes Sequence[int]
    success_codes Sequence[int]
    failureCodes List<Number>
    successCodes List<Number>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSet, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSetArgs

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSetClientSideActionConfig, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSetClientSideActionConfigArgs

    challenge Property Map
    Present a silent challenge. See Challenge below.

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSetClientSideActionConfigChallenge, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSetClientSideActionConfigChallengeArgs

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSetClientSideActionConfigChallengeExemptUriRegularExpression, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAntiDdosRuleSetClientSideActionConfigChallengeExemptUriRegularExpressionArgs

    RegexString string
    Regular expression pattern to match against the web request component.
    RegexString string
    Regular expression pattern to match against the web request component.
    regexString String
    Regular expression pattern to match against the web request component.
    regexString string
    Regular expression pattern to match against the web request component.
    regex_string str
    Regular expression pattern to match against the web request component.
    regexString String
    Regular expression pattern to match against the web request component.

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSet, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetArgs

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs

    Identifier string
    Identifier string
    identifier String
    identifier string
    identifier String

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs

    Identifier string
    Identifier string
    identifier String
    identifier string
    identifier String

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspection, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionArgs

    bodyContains Property Map
    header Property Map
    Use a header as an aggregate key. See Custom Key Header below.
    json Property Map
    statusCode Property Map

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs

    FailureStrings List<string>
    SuccessStrings List<string>
    failureStrings List<String>
    successStrings List<String>
    failure_strings Sequence[str]
    success_strings Sequence[str]
    failureStrings List<String>
    successStrings List<String>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeaderArgs

    FailureValues List<string>
    Name string
    Name of the rule. Must be unique within the Web ACL.
    SuccessValues List<string>
    FailureValues []string
    Name string
    Name of the rule. Must be unique within the Web ACL.
    SuccessValues []string
    failureValues List<String>
    name String
    Name of the rule. Must be unique within the Web ACL.
    successValues List<String>
    failureValues string[]
    name string
    Name of the rule. Must be unique within the Web ACL.
    successValues string[]
    failure_values Sequence[str]
    name str
    Name of the rule. Must be unique within the Web ACL.
    success_values Sequence[str]
    failureValues List<String>
    name String
    Name of the rule. Must be unique within the Web ACL.
    successValues List<String>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJson, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs

    FailureValues List<string>
    Identifier string
    SuccessValues List<string>
    FailureValues []string
    Identifier string
    SuccessValues []string
    failureValues List<String>
    identifier String
    successValues List<String>
    failureValues string[]
    identifier string
    successValues string[]
    failure_values Sequence[str]
    identifier str
    success_values Sequence[str]
    failureValues List<String>
    identifier String
    successValues List<String>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionStatusCode, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionStatusCodeArgs

    FailureCodes List<int>
    SuccessCodes List<int>
    failureCodes List<Integer>
    successCodes List<Integer>
    failureCodes number[]
    successCodes number[]
    failure_codes Sequence[int]
    success_codes Sequence[int]
    failureCodes List<Number>
    successCodes List<Number>

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesBotControlRuleSet, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesBotControlRuleSetArgs

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigPasswordField, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigPasswordFieldArgs

    Identifier string
    Identifier string
    identifier String
    identifier string
    identifier String

    WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigUsernameField, WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigUsernameFieldArgs

    Identifier string
    Identifier string
    identifier String
    identifier string
    identifier String

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverride, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideArgs

    Name string
    Name of the rule to override.
    ActionToUse WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUse
    Override action to use for the rule. See Action below.
    Name string
    Name of the rule to override.
    ActionToUse WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUse
    Override action to use for the rule. See Action below.
    name String
    Name of the rule to override.
    actionToUse WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUse
    Override action to use for the rule. See Action below.
    name string
    Name of the rule to override.
    actionToUse WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUse
    Override action to use for the rule. See Action below.
    name str
    Name of the rule to override.
    action_to_use WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUse
    Override action to use for the rule. See Action below.
    name String
    Name of the rule to override.
    actionToUse Property Map
    Override action to use for the rule. See Action below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUse, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseArgs

    allow Property Map
    Allow the request. See Allow below.
    block Property Map
    Block the request. See Block below.
    captcha Property Map
    Present a CAPTCHA challenge. See Captcha below.
    challenge Property Map
    Present a silent challenge. See Challenge below.
    count Property Map

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseAllow, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseAllowArgs

    customRequestHandling Property Map
    Custom request handling configuration. See Custom Request Handling below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseAllowCustomRequestHandling, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingArgs

    insertHeaders List<Property Map>
    Custom headers to insert into the request. See Insert Header below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingInsertHeader, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseAllowCustomRequestHandlingInsertHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlock, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockArgs

    customResponse Property Map
    Custom response configuration. See Custom Response below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponse, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponseArgs

    ResponseCode int
    HTTP status code to return (200-599).
    CustomResponseBodyKey string
    Key of a custom response body defined in the Web ACL.
    ResponseHeaders List<WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponseResponseHeader>
    Custom headers to include in the response. See Response Header below.
    ResponseCode int
    HTTP status code to return (200-599).
    CustomResponseBodyKey string
    Key of a custom response body defined in the Web ACL.
    ResponseHeaders []WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponseResponseHeader
    Custom headers to include in the response. See Response Header below.
    responseCode Integer
    HTTP status code to return (200-599).
    customResponseBodyKey String
    Key of a custom response body defined in the Web ACL.
    responseHeaders List<WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponseResponseHeader>
    Custom headers to include in the response. See Response Header below.
    responseCode number
    HTTP status code to return (200-599).
    customResponseBodyKey string
    Key of a custom response body defined in the Web ACL.
    responseHeaders WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponseResponseHeader[]
    Custom headers to include in the response. See Response Header below.
    response_code int
    HTTP status code to return (200-599).
    custom_response_body_key str
    Key of a custom response body defined in the Web ACL.
    response_headers Sequence[WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponseResponseHeader]
    Custom headers to include in the response. See Response Header below.
    responseCode Number
    HTTP status code to return (200-599).
    customResponseBodyKey String
    Key of a custom response body defined in the Web ACL.
    responseHeaders List<Property Map>
    Custom headers to include in the response. See Response Header below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponseResponseHeader, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseBlockCustomResponseResponseHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCaptcha, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCaptchaArgs

    customRequestHandling Property Map
    Custom request handling configuration. See Custom Request Handling below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCaptchaCustomRequestHandling, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCaptchaCustomRequestHandlingArgs

    insertHeaders List<Property Map>
    Custom headers to insert into the request. See Insert Header below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCaptchaCustomRequestHandlingInsertHeader, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCaptchaCustomRequestHandlingInsertHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseChallenge, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseChallengeArgs

    customRequestHandling Property Map
    Custom request handling configuration. See Custom Request Handling below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseChallengeCustomRequestHandling, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseChallengeCustomRequestHandlingArgs

    insertHeaders List<Property Map>
    Custom headers to insert into the request. See Insert Header below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseChallengeCustomRequestHandlingInsertHeader, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseChallengeCustomRequestHandlingInsertHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCount, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCountArgs

    customRequestHandling Property Map
    Custom request handling configuration. See Custom Request Handling below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCountCustomRequestHandling, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs

    insertHeaders List<Property Map>
    Custom headers to insert into the request. See Insert Header below.

    WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCountCustomRequestHandlingInsertHeader, WebAclRuleStatementManagedRuleGroupStatementRuleActionOverrideActionToUseCountCustomRequestHandlingInsertHeaderArgs

    Name string
    Header name.
    Value string
    Header value.
    Name string
    Header name.
    Value string
    Header value.
    name String
    Header name.
    value String
    Header value.
    name string
    Header name.
    value string
    Header value.
    name str
    Header name.
    value str
    Header value.
    name String
    Header name.
    value String
    Header value.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementArgs

    AsnMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement above.
    ByteMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement above.
    GeoMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement above.
    IpSetReferenceStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement above.
    LabelMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement above.
    RegexMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement above.
    RegexPatternSetReferenceStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatement
    Rule statement used to search web request components for matches with regular expressions from a RegexPatternSet.
    SizeConstraintStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement above.
    SqliMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks.
    XssMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatement
    Match requests that appear to contain cross-site scripting attacks.
    AsnMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement above.
    ByteMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement above.
    GeoMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement above.
    IpSetReferenceStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement above.
    LabelMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement above.
    RegexMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement above.
    RegexPatternSetReferenceStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatement
    Rule statement used to search web request components for matches with regular expressions from a RegexPatternSet.
    SizeConstraintStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement above.
    SqliMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks.
    XssMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatement
    Match requests that appear to contain cross-site scripting attacks.
    asnMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement above.
    byteMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement above.
    geoMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement above.
    ipSetReferenceStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement above.
    labelMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement above.
    regexMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement above.
    regexPatternSetReferenceStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatement
    Rule statement used to search web request components for matches with regular expressions from a RegexPatternSet.
    sizeConstraintStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement above.
    sqliMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks.
    xssMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatement
    Match requests that appear to contain cross-site scripting attacks.
    asnMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement above.
    byteMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement above.
    geoMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement above.
    ipSetReferenceStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement above.
    labelMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement above.
    regexMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement above.
    regexPatternSetReferenceStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatement
    Rule statement used to search web request components for matches with regular expressions from a RegexPatternSet.
    sizeConstraintStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement above.
    sqliMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks.
    xssMatchStatement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatement
    Match requests that appear to contain cross-site scripting attacks.
    asn_match_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement above.
    byte_match_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement above.
    geo_match_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement above.
    ip_set_reference_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement above.
    label_match_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement above.
    regex_match_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement above.
    regex_pattern_set_reference_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatement
    Rule statement used to search web request components for matches with regular expressions from a RegexPatternSet.
    size_constraint_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement above.
    sqli_match_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks.
    xss_match_statement WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatement
    Match requests that appear to contain cross-site scripting attacks.
    asnMatchStatement Property Map
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement above.
    byteMatchStatement Property Map
    Match requests based on byte patterns. See Byte Match Statement above.
    geoMatchStatement Property Map
    Match requests by geographic location. See Geo Match Statement above.
    ipSetReferenceStatement Property Map
    Reference to an IP set. See IP Set Reference Statement above.
    labelMatchStatement Property Map
    Match requests based on labels. See Label Match Statement above.
    regexMatchStatement Property Map
    Match requests using regex patterns. See Regex Match Statement above.
    regexPatternSetReferenceStatement Property Map
    Rule statement used to search web request components for matches with regular expressions from a RegexPatternSet.
    sizeConstraintStatement Property Map
    Match requests based on size constraints. See Size Constraint Statement above.
    sqliMatchStatement Property Map
    Match requests that appear to contain SQL injection attacks.
    xssMatchStatement Property Map
    Match requests that appear to contain cross-site scripting attacks.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatementArgs

    AsnLists List<int>
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    ForwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    AsnLists []int
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    ForwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    asnLists List<Integer>
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    forwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    asnLists number[]
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    forwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    asn_lists Sequence[int]
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    forwarded_ip_config WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatementForwardedIpConfig
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
    asnLists List<Number>
    List of Autonomous System Numbers (ASNs) to match against. ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
    forwardedIpConfig Property Map
    Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatementForwardedIpConfig, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementAsnMatchStatementForwardedIpConfigArgs

    FallbackBehavior string
    HeaderName string
    Name of the header containing the forwarded IP address.
    FallbackBehavior string
    HeaderName string
    Name of the header containing the forwarded IP address.
    fallbackBehavior String
    headerName String
    Name of the header containing the forwarded IP address.
    fallbackBehavior string
    headerName string
    Name of the header containing the forwarded IP address.
    fallback_behavior str
    header_name str
    Name of the header containing the forwarded IP address.
    fallbackBehavior String
    headerName String
    Name of the header containing the forwarded IP address.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementArgs

    PositionalConstraint string
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    SearchString string
    String value to search for within the request (1-200 characters).
    FieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    PositionalConstraint string
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    SearchString string
    String value to search for within the request (1-200 characters).
    FieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementTextTransformation
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    positionalConstraint String
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    searchString String
    String value to search for within the request (1-200 characters).
    fieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    positionalConstraint string
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    searchString string
    String value to search for within the request (1-200 characters).
    fieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementTextTransformation[]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    positional_constraint str
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    search_string str
    String value to search for within the request (1-200 characters).
    field_to_match WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    text_transformations Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementTextTransformation]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    positionalConstraint String
    Area within the portion of the web request that you want WAF to search for searchString. Valid values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD.
    searchString String
    String value to search for within the request (1-200 characters).
    fieldToMatch Property Map
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<Property Map>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatch, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchArgs

    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderOrder
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeader
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderOrder[]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeader[]
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    all_query_arguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    header_orders Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderOrder]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeader]
    Inspect the request headers. See Headers below.
    ja3_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    json_body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    query_string WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchQueryString
    Inspect the query string.
    single_header WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    single_query_argument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uri_fragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uri_path WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments Property Map
    Inspect all query arguments.
    body Property Map
    Inspect the request body as plain text. See Body below.
    cookies Property Map
    Inspect the request cookies. See Cookies below.
    headerOrders List<Property Map>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<Property Map>
    Inspect the request headers. See Headers below.
    ja3Fingerprint Property Map
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint Property Map
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody Property Map
    Inspect the request body as JSON. See JSON Body below.
    method Property Map
    Inspect the HTTP method.
    queryString Property Map
    Inspect the query string.
    singleHeader Property Map
    Inspect a single header. See Single Header below.
    singleQueryArgument Property Map
    Inspect a single query argument. See Single Query Argument below.
    uriFragment Property Map
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath Property Map
    Inspect the request URI path.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchBodyArgs

    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookies, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesArgs

    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPattern
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPattern[]
    Cookies to inspect. See Cookies Match Pattern below.
    match_scope str
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_patterns Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPattern]
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<Property Map>
    Cookies to inspect. See Cookies Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies List<string>
    List of cookie names to exclude from inspection.
    IncludedCookies List<string>
    List of cookie names to inspect.
    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies []string
    List of cookie names to exclude from inspection.
    IncludedCookies []string
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies string[]
    List of cookie names to exclude from inspection.
    includedCookies string[]
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchCookiesMatchPatternAll
    excluded_cookies Sequence[str]
    List of cookie names to exclude from inspection.
    included_cookies Sequence[str]
    List of cookie names to inspect.
    all Property Map
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderArgs

    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    match_scope str
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern Property Map
    Headers to inspect. See Headers Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders List<string>
    List of header names to exclude from inspection.
    IncludedHeaders List<string>
    List of header names to inspect.
    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders []string
    List of header names to exclude from inspection.
    IncludedHeaders []string
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders string[]
    List of header names to exclude from inspection.
    includedHeaders string[]
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderMatchPatternAll
    excluded_headers Sequence[str]
    List of header names to exclude from inspection.
    included_headers Sequence[str]
    List of header names to inspect.
    all Property Map
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderOrder, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchHeaderOrderArgs

    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa3Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa3FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa4Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJa4FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyArgs

    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    match_scope str
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalid_fallback_behavior str
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern Property Map
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchJsonBodyMatchPatternArgs

    all Property Map
    includedPaths List<String>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleHeaderArgs

    Name string
    Name of the header to inspect (case insensitive).
    Name string
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).
    name string
    Name of the header to inspect (case insensitive).
    name str
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleQueryArgument, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchSingleQueryArgumentArgs

    Name string
    Name of the query argument to inspect.
    Name string
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.
    name string
    Name of the query argument to inspect.
    name str
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriFragment, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementFieldToMatchUriFragmentArgs

    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementTextTransformation, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementByteMatchStatementTextTransformationArgs

    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Integer
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority number
    Relative processing order for multiple transformations (0-based).
    type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority int
    Relative processing order for multiple transformations (0-based).
    type str
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Number
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatementArgs

    CountryCodes List<string>
    List of two-character country codes (ISO 3166-1 alpha-2).
    ForwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    CountryCodes []string
    List of two-character country codes (ISO 3166-1 alpha-2).
    ForwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    countryCodes List<String>
    List of two-character country codes (ISO 3166-1 alpha-2).
    forwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    countryCodes string[]
    List of two-character country codes (ISO 3166-1 alpha-2).
    forwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    country_codes Sequence[str]
    List of two-character country codes (ISO 3166-1 alpha-2).
    forwarded_ip_config WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatementForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.
    countryCodes List<String>
    List of two-character country codes (ISO 3166-1 alpha-2).
    forwardedIpConfig Property Map
    Configuration for inspecting forwarded IP headers. See Forwarded IP Config below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatementForwardedIpConfig, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementGeoMatchStatementForwardedIpConfigArgs

    FallbackBehavior string
    HeaderName string
    Name of the header containing the forwarded IP address.
    FallbackBehavior string
    HeaderName string
    Name of the header containing the forwarded IP address.
    fallbackBehavior String
    headerName String
    Name of the header containing the forwarded IP address.
    fallbackBehavior string
    headerName string
    Name of the header containing the forwarded IP address.
    fallback_behavior str
    header_name str
    Name of the header containing the forwarded IP address.
    fallbackBehavior String
    headerName String
    Name of the header containing the forwarded IP address.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatementArgs

    Arn string
    ARN of the IP set to reference.
    IpSetForwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    Arn string
    ARN of the IP set to reference.
    IpSetForwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    arn String
    ARN of the IP set to reference.
    ipSetForwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    arn string
    ARN of the IP set to reference.
    ipSetForwardedIpConfig WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    arn str
    ARN of the IP set to reference.
    ip_set_forwarded_ip_config WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatementIpSetForwardedIpConfig
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.
    arn String
    ARN of the IP set to reference.
    ipSetForwardedIpConfig Property Map
    Configuration for inspecting forwarded IP headers. See IP Set Forwarded IP Config below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatementIpSetForwardedIpConfig, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementIpSetReferenceStatementIpSetForwardedIpConfigArgs

    FallbackBehavior string
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    HeaderName string
    Name of the header containing the forwarded IP address.
    Position string
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    FallbackBehavior string
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    HeaderName string
    Name of the header containing the forwarded IP address.
    Position string
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    fallbackBehavior String
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    headerName String
    Name of the header containing the forwarded IP address.
    position String
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    fallbackBehavior string
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    headerName string
    Name of the header containing the forwarded IP address.
    position string
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    fallback_behavior str
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    header_name str
    Name of the header containing the forwarded IP address.
    position str
    Position in the header to use. Valid values: FIRST, LAST, ANY.
    fallbackBehavior String
    Action to take when the IP address in the header is invalid. Valid values: MATCH, NO_MATCH.
    headerName String
    Name of the header containing the forwarded IP address.
    position String
    Position in the header to use. Valid values: FIRST, LAST, ANY.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementLabelMatchStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementLabelMatchStatementArgs

    Key string
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    Scope string
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    Key string
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    Scope string
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    key String
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    scope String
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    key string
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    scope string
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    key str
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    scope str
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.
    key String
    String to match against. For LABEL scope, include the name and any preceding namespace specifications. For NAMESPACE scope, include namespace strings. Labels are case sensitive and components must be separated by colon (e.g., NS1:NS2:name).
    scope String
    Whether to match using the label name or namespace. Valid values: LABEL, NAMESPACE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementArgs

    RegexString string
    Regular expression pattern to match against the web request component.
    FieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    RegexString string
    Regular expression pattern to match against the web request component.
    FieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementTextTransformation
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    regexString String
    Regular expression pattern to match against the web request component.
    fieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    regexString string
    Regular expression pattern to match against the web request component.
    fieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementTextTransformation[]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    regex_string str
    Regular expression pattern to match against the web request component.
    field_to_match WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    text_transformations Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementTextTransformation]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    regexString String
    Regular expression pattern to match against the web request component.
    fieldToMatch Property Map
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<Property Map>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatch, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchArgs

    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderOrder
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeader
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderOrder[]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeader[]
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    all_query_arguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    header_orders Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderOrder]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeader]
    Inspect the request headers. See Headers below.
    ja3_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    json_body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    query_string WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchQueryString
    Inspect the query string.
    single_header WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    single_query_argument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uri_fragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uri_path WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments Property Map
    Inspect all query arguments.
    body Property Map
    Inspect the request body as plain text. See Body below.
    cookies Property Map
    Inspect the request cookies. See Cookies below.
    headerOrders List<Property Map>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<Property Map>
    Inspect the request headers. See Headers below.
    ja3Fingerprint Property Map
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint Property Map
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody Property Map
    Inspect the request body as JSON. See JSON Body below.
    method Property Map
    Inspect the HTTP method.
    queryString Property Map
    Inspect the query string.
    singleHeader Property Map
    Inspect a single header. See Single Header below.
    singleQueryArgument Property Map
    Inspect a single query argument. See Single Query Argument below.
    uriFragment Property Map
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath Property Map
    Inspect the request URI path.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchBodyArgs

    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookies, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesArgs

    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPattern
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPattern[]
    Cookies to inspect. See Cookies Match Pattern below.
    match_scope str
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_patterns Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPattern]
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<Property Map>
    Cookies to inspect. See Cookies Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies List<string>
    List of cookie names to exclude from inspection.
    IncludedCookies List<string>
    List of cookie names to inspect.
    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies []string
    List of cookie names to exclude from inspection.
    IncludedCookies []string
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies string[]
    List of cookie names to exclude from inspection.
    includedCookies string[]
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchCookiesMatchPatternAll
    excluded_cookies Sequence[str]
    List of cookie names to exclude from inspection.
    included_cookies Sequence[str]
    List of cookie names to inspect.
    all Property Map
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderArgs

    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    match_scope str
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern Property Map
    Headers to inspect. See Headers Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders List<string>
    List of header names to exclude from inspection.
    IncludedHeaders List<string>
    List of header names to inspect.
    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders []string
    List of header names to exclude from inspection.
    IncludedHeaders []string
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders string[]
    List of header names to exclude from inspection.
    includedHeaders string[]
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderMatchPatternAll
    excluded_headers Sequence[str]
    List of header names to exclude from inspection.
    included_headers Sequence[str]
    List of header names to inspect.
    all Property Map
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderOrder, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchHeaderOrderArgs

    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa3Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa3FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa4Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJa4FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBodyArgs

    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    match_scope str
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalid_fallback_behavior str
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern Property Map
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchJsonBodyMatchPatternArgs

    all Property Map
    includedPaths List<String>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleHeaderArgs

    Name string
    Name of the header to inspect (case insensitive).
    Name string
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).
    name string
    Name of the header to inspect (case insensitive).
    name str
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleQueryArgument, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchSingleQueryArgumentArgs

    Name string
    Name of the query argument to inspect.
    Name string
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.
    name string
    Name of the query argument to inspect.
    name str
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriFragment, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementFieldToMatchUriFragmentArgs

    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementTextTransformation, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexMatchStatementTextTransformationArgs

    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Integer
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority number
    Relative processing order for multiple transformations (0-based).
    type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority int
    Relative processing order for multiple transformations (0-based).
    type str
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Number
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementArgs

    Arn string
    ARN of the regex pattern set to reference.
    FieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    Arn string
    ARN of the regex pattern set to reference.
    FieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementTextTransformation
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    arn String
    ARN of the regex pattern set to reference.
    fieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    arn string
    ARN of the regex pattern set to reference.
    fieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementTextTransformation[]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    arn str
    ARN of the regex pattern set to reference.
    field_to_match WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    text_transformations Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementTextTransformation]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    arn String
    ARN of the regex pattern set to reference.
    fieldToMatch Property Map
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<Property Map>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchArgs

    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath
    Inspect the request URI path.
    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder[]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader[]
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath
    Inspect the request URI path.
    all_query_arguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    header_orders Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader]
    Inspect the request headers. See Headers below.
    ja3_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    json_body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod
    Inspect the HTTP method.
    query_string WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString
    Inspect the query string.
    single_header WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    single_query_argument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uri_fragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uri_path WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments Property Map
    Inspect all query arguments.
    body Property Map
    Inspect the request body as plain text. See Body below.
    cookies Property Map
    Inspect the request cookies. See Cookies below.
    headerOrders List<Property Map>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<Property Map>
    Inspect the request headers. See Headers below.
    ja3Fingerprint Property Map
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint Property Map
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody Property Map
    Inspect the request body as JSON. See JSON Body below.
    method Property Map
    Inspect the HTTP method.
    queryString Property Map
    Inspect the query string.
    singleHeader Property Map
    Inspect a single header. See Single Header below.
    singleQueryArgument Property Map
    Inspect a single query argument. See Single Query Argument below.
    uriFragment Property Map
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath Property Map
    Inspect the request URI path.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBodyArgs

    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesArgs

    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern[]
    Cookies to inspect. See Cookies Match Pattern below.
    match_scope str
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_patterns Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern]
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<Property Map>
    Cookies to inspect. See Cookies Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs

    all Property Map
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs

    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    match_scope str
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern Property Map
    Headers to inspect. See Headers Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs

    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll
    excluded_headers Sequence[str]
    List of header names to exclude from inspection.
    included_headers Sequence[str]
    List of header names to inspect.
    all Property Map
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrderArgs

    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa4Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa4FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs

    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    match_scope str
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalid_fallback_behavior str
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern Property Map
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs

    all Property Map
    includedPaths List<String>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeaderArgs

    Name string
    Name of the header to inspect (case insensitive).
    Name string
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).
    name string
    Name of the header to inspect (case insensitive).
    name str
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs

    Name string
    Name of the query argument to inspect.
    Name string
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.
    name string
    Name of the query argument to inspect.
    name str
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriFragment, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriFragmentArgs

    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementTextTransformation, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementTextTransformationArgs

    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Integer
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority number
    Relative processing order for multiple transformations (0-based).
    type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority int
    Relative processing order for multiple transformations (0-based).
    type str
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Number
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementArgs

    ComparisonOperator string
    Operator to use to compare the request part to the size setting. Valid values: EQ, NE, LE, LT, GE, GT.
    Size int
    Size, in bytes, to compare to the request part, after any transformations.
    FieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    ComparisonOperator string
    Operator to use to compare the request part to the size setting. Valid values: EQ, NE, LE, LT, GE, GT.
    Size int
    Size, in bytes, to compare to the request part, after any transformations.
    FieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    TextTransformations []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementTextTransformation
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    comparisonOperator String
    Operator to use to compare the request part to the size setting. Valid values: EQ, NE, LE, LT, GE, GT.
    size Integer
    Size, in bytes, to compare to the request part, after any transformations.
    fieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementTextTransformation>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    comparisonOperator string
    Operator to use to compare the request part to the size setting. Valid values: EQ, NE, LE, LT, GE, GT.
    size number
    Size, in bytes, to compare to the request part, after any transformations.
    fieldToMatch WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementTextTransformation[]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    comparison_operator str
    Operator to use to compare the request part to the size setting. Valid values: EQ, NE, LE, LT, GE, GT.
    size int
    Size, in bytes, to compare to the request part, after any transformations.
    field_to_match WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatch
    Part of the web request that you want WAF to inspect. See Field to Match below.
    text_transformations Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementTextTransformation]
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.
    comparisonOperator String
    Operator to use to compare the request part to the size setting. Valid values: EQ, NE, LE, LT, GE, GT.
    size Number
    Size, in bytes, to compare to the request part, after any transformations.
    fieldToMatch Property Map
    Part of the web request that you want WAF to inspect. See Field to Match below.
    textTransformations List<Property Map>
    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatch, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchArgs

    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriPath
    Inspect the request URI path.
    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderOrder
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeader
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderOrder[]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeader[]
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriPath
    Inspect the request URI path.
    all_query_arguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    header_orders Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderOrder]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeader]
    Inspect the request headers. See Headers below.
    ja3_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    json_body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchMethod
    Inspect the HTTP method.
    query_string WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchQueryString
    Inspect the query string.
    single_header WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    single_query_argument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uri_fragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uri_path WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments Property Map
    Inspect all query arguments.
    body Property Map
    Inspect the request body as plain text. See Body below.
    cookies Property Map
    Inspect the request cookies. See Cookies below.
    headerOrders List<Property Map>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<Property Map>
    Inspect the request headers. See Headers below.
    ja3Fingerprint Property Map
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint Property Map
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody Property Map
    Inspect the request body as JSON. See JSON Body below.
    method Property Map
    Inspect the HTTP method.
    queryString Property Map
    Inspect the query string.
    singleHeader Property Map
    Inspect a single header. See Single Header below.
    singleQueryArgument Property Map
    Inspect a single query argument. See Single Query Argument below.
    uriFragment Property Map
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath Property Map
    Inspect the request URI path.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchBodyArgs

    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookies, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesArgs

    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPattern
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPattern[]
    Cookies to inspect. See Cookies Match Pattern below.
    match_scope str
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_patterns Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPattern]
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<Property Map>
    Cookies to inspect. See Cookies Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies List<string>
    List of cookie names to exclude from inspection.
    IncludedCookies List<string>
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchCookiesMatchPatternAll
    excluded_cookies Sequence[str]
    List of cookie names to exclude from inspection.
    included_cookies Sequence[str]
    List of cookie names to inspect.
    all Property Map
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderArgs

    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    match_scope str
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern Property Map
    Headers to inspect. See Headers Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders List<string>
    List of header names to exclude from inspection.
    IncludedHeaders List<string>
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderMatchPatternAll
    excluded_headers Sequence[str]
    List of header names to exclude from inspection.
    included_headers Sequence[str]
    List of header names to inspect.
    all Property Map
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderOrder, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchHeaderOrderArgs

    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa3Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa3FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa4Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJa4FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBodyArgs

    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    match_scope str
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalid_fallback_behavior str
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern Property Map
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBodyMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchJsonBodyMatchPatternArgs

    all Property Map
    includedPaths List<String>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleHeaderArgs

    Name string
    Name of the header to inspect (case insensitive).
    Name string
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).
    name string
    Name of the header to inspect (case insensitive).
    name str
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleQueryArgument, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchSingleQueryArgumentArgs

    Name string
    Name of the query argument to inspect.
    Name string
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.
    name string
    Name of the query argument to inspect.
    name str
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriFragment, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementFieldToMatchUriFragmentArgs

    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementTextTransformation, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSizeConstraintStatementTextTransformationArgs

    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Integer
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority number
    Relative processing order for multiple transformations (0-based).
    type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority int
    Relative processing order for multiple transformations (0-based).
    type str
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Number
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementArgs

    fieldToMatch Property Map
    sensitivityLevel String
    Sensitivity level for detecting SQL injection attacks. Valid values: HIGH, LOW.
    textTransformations List<Property Map>

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatch, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchArgs

    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderOrder
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeader
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderOrder[]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeader[]
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    all_query_arguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    header_orders Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderOrder]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeader]
    Inspect the request headers. See Headers below.
    ja3_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    json_body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    query_string WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchQueryString
    Inspect the query string.
    single_header WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    single_query_argument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uri_fragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uri_path WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments Property Map
    Inspect all query arguments.
    body Property Map
    Inspect the request body as plain text. See Body below.
    cookies Property Map
    Inspect the request cookies. See Cookies below.
    headerOrders List<Property Map>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<Property Map>
    Inspect the request headers. See Headers below.
    ja3Fingerprint Property Map
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint Property Map
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody Property Map
    Inspect the request body as JSON. See JSON Body below.
    method Property Map
    Inspect the HTTP method.
    queryString Property Map
    Inspect the query string.
    singleHeader Property Map
    Inspect a single header. See Single Header below.
    singleQueryArgument Property Map
    Inspect a single query argument. See Single Query Argument below.
    uriFragment Property Map
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath Property Map
    Inspect the request URI path.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchBodyArgs

    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookies, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesArgs

    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPattern
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPattern[]
    Cookies to inspect. See Cookies Match Pattern below.
    match_scope str
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_patterns Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPattern]
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<Property Map>
    Cookies to inspect. See Cookies Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies List<string>
    List of cookie names to exclude from inspection.
    IncludedCookies List<string>
    List of cookie names to inspect.
    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies []string
    List of cookie names to exclude from inspection.
    IncludedCookies []string
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies string[]
    List of cookie names to exclude from inspection.
    includedCookies string[]
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchCookiesMatchPatternAll
    excluded_cookies Sequence[str]
    List of cookie names to exclude from inspection.
    included_cookies Sequence[str]
    List of cookie names to inspect.
    all Property Map
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderArgs

    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    match_scope str
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern Property Map
    Headers to inspect. See Headers Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders List<string>
    List of header names to exclude from inspection.
    IncludedHeaders List<string>
    List of header names to inspect.
    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders []string
    List of header names to exclude from inspection.
    IncludedHeaders []string
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders string[]
    List of header names to exclude from inspection.
    includedHeaders string[]
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderMatchPatternAll
    excluded_headers Sequence[str]
    List of header names to exclude from inspection.
    included_headers Sequence[str]
    List of header names to inspect.
    all Property Map
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderOrder, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchHeaderOrderArgs

    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa3Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa3FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa4Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJa4FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBodyArgs

    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    match_scope str
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalid_fallback_behavior str
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern Property Map
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBodyMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchJsonBodyMatchPatternArgs

    all Property Map
    includedPaths List<String>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleHeaderArgs

    Name string
    Name of the header to inspect (case insensitive).
    Name string
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).
    name string
    Name of the header to inspect (case insensitive).
    name str
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleQueryArgument, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchSingleQueryArgumentArgs

    Name string
    Name of the query argument to inspect.
    Name string
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.
    name string
    Name of the query argument to inspect.
    name str
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriFragment, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementFieldToMatchUriFragmentArgs

    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementTextTransformation, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementSqliMatchStatementTextTransformationArgs

    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Integer
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority number
    Relative processing order for multiple transformations (0-based).
    type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority int
    Relative processing order for multiple transformations (0-based).
    type str
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Number
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatement, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementArgs

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatch, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchArgs

    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    AllQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    Body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    Cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    HeaderOrders []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderOrder
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    Headers []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeader
    Inspect the request headers. See Headers below.
    Ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    Ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    JsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    Method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    QueryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchQueryString
    Inspect the query string.
    SingleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    SingleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    UriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    UriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderOrder>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeader>
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    headerOrders WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderOrder[]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeader[]
    Inspect the request headers. See Headers below.
    ja3Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    queryString WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchQueryString
    Inspect the query string.
    singleHeader WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    singleQueryArgument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uriFragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    all_query_arguments WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchAllQueryArguments
    Inspect all query arguments.
    body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchBody
    Inspect the request body as plain text. See Body below.
    cookies WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookies
    Inspect the request cookies. See Cookies below.
    header_orders Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderOrder]
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeader]
    Inspect the request headers. See Headers below.
    ja3_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa3Fingerprint
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4_fingerprint WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa4Fingerprint
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    json_body WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBody
    Inspect the request body as JSON. See JSON Body below.
    method WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchMethod
    Inspect the HTTP method.
    query_string WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchQueryString
    Inspect the query string.
    single_header WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleHeader
    Inspect a single header. See Single Header below.
    single_query_argument WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleQueryArgument
    Inspect a single query argument. See Single Query Argument below.
    uri_fragment WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriFragment
    Inspect fragments of the request URI. See URI Fragment below.
    uri_path WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriPath
    Inspect the request URI path.
    allQueryArguments Property Map
    Inspect all query arguments.
    body Property Map
    Inspect the request body as plain text. See Body below.
    cookies Property Map
    Inspect the request cookies. See Cookies below.
    headerOrders List<Property Map>
    Inspect a string containing the list of the request's header names, ordered as they appear in the web request. See Header Order below.
    headers List<Property Map>
    Inspect the request headers. See Headers below.
    ja3Fingerprint Property Map
    Match against the request's JA3 fingerprint (CloudFront and ALB only). See JA3 Fingerprint below.
    ja4Fingerprint Property Map
    Match against the request's JA4 fingerprint (CloudFront and ALB only). See JA4 Fingerprint below.
    jsonBody Property Map
    Inspect the request body as JSON. See JSON Body below.
    method Property Map
    Inspect the HTTP method.
    queryString Property Map
    Inspect the query string.
    singleHeader Property Map
    Inspect a single header. See Single Header below.
    singleQueryArgument Property Map
    Inspect a single query argument. See Single Query Argument below.
    uriFragment Property Map
    Inspect fragments of the request URI. See URI Fragment below.
    uriPath Property Map
    Inspect the request URI path.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchBodyArgs

    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookies, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesArgs

    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    MatchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPatterns []WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPattern
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPattern>
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope string
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPattern[]
    Cookies to inspect. See Cookies Match Pattern below.
    match_scope str
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_patterns Sequence[WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPattern]
    Cookies to inspect. See Cookies Match Pattern below.
    matchScope String
    Parts of the cookies to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with cookies larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPatterns List<Property Map>
    Cookies to inspect. See Cookies Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies List<string>
    List of cookie names to exclude from inspection.
    IncludedCookies List<string>
    List of cookie names to inspect.
    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPatternAll
    ExcludedCookies []string
    List of cookie names to exclude from inspection.
    IncludedCookies []string
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPatternAll
    excludedCookies string[]
    List of cookie names to exclude from inspection.
    includedCookies string[]
    List of cookie names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchCookiesMatchPatternAll
    excluded_cookies Sequence[str]
    List of cookie names to exclude from inspection.
    included_cookies Sequence[str]
    List of cookie names to inspect.
    all Property Map
    excludedCookies List<String>
    List of cookie names to exclude from inspection.
    includedCookies List<String>
    List of cookie names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderArgs

    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    MatchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope string
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    match_scope str
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPattern
    Headers to inspect. See Headers Match Pattern below.
    matchScope String
    Parts of the headers to inspect. Valid values: ALL, KEY, VALUE.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    matchPattern Property Map
    Headers to inspect. See Headers Match Pattern below.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternArgs

    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders List<string>
    List of header names to exclude from inspection.
    IncludedHeaders List<string>
    List of header names to inspect.
    All WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternAll
    ExcludedHeaders []string
    List of header names to exclude from inspection.
    IncludedHeaders []string
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternAll
    excludedHeaders string[]
    List of header names to exclude from inspection.
    includedHeaders string[]
    List of header names to inspect.
    all WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternAll
    excluded_headers Sequence[str]
    List of header names to exclude from inspection.
    included_headers Sequence[str]
    List of header names to inspect.
    all Property Map
    excludedHeaders List<String>
    List of header names to exclude from inspection.
    includedHeaders List<String>
    List of header names to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderOrder, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderOrderArgs

    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    OversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling string
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversize_handling str
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.
    oversizeHandling String
    How to handle requests with headers larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa3Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa3FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa4Fingerprint, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJa4FingerprintArgs

    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    Action to take if WAF cannot calculate the fingerprint. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBody, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBodyArgs

    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    MatchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    InvalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    MatchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    OversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope string
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior string
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling string
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    match_scope str
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalid_fallback_behavior str
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    match_pattern WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBodyMatchPattern
    JSON content to inspect. See JSON Body Match Pattern below.
    oversize_handling str
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.
    matchScope String
    Parts of the JSON to inspect. Valid values: ALL, KEY, VALUE.
    invalidFallbackBehavior String
    How to handle requests with invalid JSON body. Valid values: EVALUATE_AS_STRING, MATCH, NO_MATCH.
    matchPattern Property Map
    JSON content to inspect. See JSON Body Match Pattern below.
    oversizeHandling String
    How to handle requests with a body larger than the inspection limit. Valid values: CONTINUE, MATCH, NO_MATCH. Defaults to CONTINUE.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBodyMatchPattern, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchJsonBodyMatchPatternArgs

    all Property Map
    includedPaths List<String>
    List of JSON pointer expressions to inspect (e.g., /foo/bar).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleHeader, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleHeaderArgs

    Name string
    Name of the header to inspect (case insensitive).
    Name string
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).
    name string
    Name of the header to inspect (case insensitive).
    name str
    Name of the header to inspect (case insensitive).
    name String
    Name of the header to inspect (case insensitive).

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleQueryArgument, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchSingleQueryArgumentArgs

    Name string
    Name of the query argument to inspect.
    Name string
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.
    name string
    Name of the query argument to inspect.
    name str
    Name of the query argument to inspect.
    name String
    Name of the query argument to inspect.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriFragment, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementFieldToMatchUriFragmentArgs

    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    FallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior string
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallback_behavior str
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.
    fallbackBehavior String
    How to handle requests with a URI fragment that is too large to inspect. Valid values: MATCH, NO_MATCH.

    WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementTextTransformation, WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementXssMatchStatementTextTransformationArgs

    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    Priority int
    Relative processing order for multiple transformations (0-based).
    Type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Integer
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority number
    Relative processing order for multiple transformations (0-based).
    type string
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority int
    Relative processing order for multiple transformations (0-based).
    type str
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.
    priority Number
    Relative processing order for multiple transformations (0-based).
    type String
    Transformation to apply. Valid values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE, BASE64_DECODE, HEX_DECODE, MD5, REPLACE_COMMENTS, ESCAPE_SEQ_DECODE, SQL_HEX_DECODE, CSS_DECODE, JS_DECODE, NORMALIZE_PATH, NORMALIZE_PATH_WIN, REMOVE_NULLS, REPLACE_NULLS, BASE64_DECODE_EXT, URL_DECODE_UNI, UTF8_TO_UNICODE.

    WebAclRuleStatementNotStatement, WebAclRuleStatementNotStatementArgs

    Statement WebAclRuleStatementNotStatementStatement
    Single statement to negate. Exactly one statement must be specified.
    Statement WebAclRuleStatementNotStatementStatement
    Single statement to negate. Exactly one statement must be specified.
    statement WebAclRuleStatementNotStatementStatement
    Single statement to negate. Exactly one statement must be specified.
    statement WebAclRuleStatementNotStatementStatement
    Single statement to negate. Exactly one statement must be specified.
    statement WebAclRuleStatementNotStatementStatement
    Single statement to negate. Exactly one statement must be specified.
    statement Property Map
    Single statement to negate. Exactly one statement must be specified.

    WebAclRuleStatementNotStatementStatement, WebAclRuleStatementNotStatementStatementArgs

    AndStatement WebAclRuleStatementNotStatementStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    AsnMatchStatement WebAclRuleStatementNotStatementStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    ByteMatchStatement WebAclRuleStatementNotStatementStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    GeoMatchStatement WebAclRuleStatementNotStatementStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    IpSetReferenceStatement WebAclRuleStatementNotStatementStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    LabelMatchStatement WebAclRuleStatementNotStatementStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    ManagedRuleGroupStatement WebAclRuleStatementNotStatementStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    NotStatement WebAclRuleStatementNotStatementStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    OrStatement WebAclRuleStatementNotStatementStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    RateBasedStatement WebAclRuleStatementNotStatementStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    RegexMatchStatement WebAclRuleStatementNotStatementStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    RegexPatternSetReferenceStatement WebAclRuleStatementNotStatementStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    RuleGroupReferenceStatement WebAclRuleStatementNotStatementStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    SizeConstraintStatement WebAclRuleStatementNotStatementStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    SqliMatchStatement WebAclRuleStatementNotStatementStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    XssMatchStatement WebAclRuleStatementNotStatementStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    AndStatement WebAclRuleStatementNotStatementStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    AsnMatchStatement WebAclRuleStatementNotStatementStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    ByteMatchStatement WebAclRuleStatementNotStatementStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    GeoMatchStatement WebAclRuleStatementNotStatementStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    IpSetReferenceStatement WebAclRuleStatementNotStatementStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    LabelMatchStatement WebAclRuleStatementNotStatementStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    ManagedRuleGroupStatement WebAclRuleStatementNotStatementStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    NotStatement WebAclRuleStatementNotStatementStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    OrStatement WebAclRuleStatementNotStatementStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    RateBasedStatement WebAclRuleStatementNotStatementStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    RegexMatchStatement WebAclRuleStatementNotStatementStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    RegexPatternSetReferenceStatement WebAclRuleStatementNotStatementStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    RuleGroupReferenceStatement WebAclRuleStatementNotStatementStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    SizeConstraintStatement WebAclRuleStatementNotStatementStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    SqliMatchStatement WebAclRuleStatementNotStatementStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    XssMatchStatement WebAclRuleStatementNotStatementStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    andStatement WebAclRuleStatementNotStatementStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    asnMatchStatement WebAclRuleStatementNotStatementStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    byteMatchStatement WebAclRuleStatementNotStatementStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    geoMatchStatement WebAclRuleStatementNotStatementStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    ipSetReferenceStatement WebAclRuleStatementNotStatementStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    labelMatchStatement WebAclRuleStatementNotStatementStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    managedRuleGroupStatement WebAclRuleStatementNotStatementStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    notStatement WebAclRuleStatementNotStatementStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    orStatement WebAclRuleStatementNotStatementStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    rateBasedStatement WebAclRuleStatementNotStatementStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    regexMatchStatement WebAclRuleStatementNotStatementStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    regexPatternSetReferenceStatement WebAclRuleStatementNotStatementStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    ruleGroupReferenceStatement WebAclRuleStatementNotStatementStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    sizeConstraintStatement WebAclRuleStatementNotStatementStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    sqliMatchStatement WebAclRuleStatementNotStatementStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    xssMatchStatement WebAclRuleStatementNotStatementStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    andStatement WebAclRuleStatementNotStatementStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    asnMatchStatement WebAclRuleStatementNotStatementStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    byteMatchStatement WebAclRuleStatementNotStatementStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    geoMatchStatement WebAclRuleStatementNotStatementStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    ipSetReferenceStatement WebAclRuleStatementNotStatementStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    labelMatchStatement WebAclRuleStatementNotStatementStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    managedRuleGroupStatement WebAclRuleStatementNotStatementStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    notStatement WebAclRuleStatementNotStatementStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    orStatement WebAclRuleStatementNotStatementStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    rateBasedStatement WebAclRuleStatementNotStatementStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    regexMatchStatement WebAclRuleStatementNotStatementStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    regexPatternSetReferenceStatement WebAclRuleStatementNotStatementStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    ruleGroupReferenceStatement WebAclRuleStatementNotStatementStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    sizeConstraintStatement WebAclRuleStatementNotStatementStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    sqliMatchStatement WebAclRuleStatementNotStatementStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    xssMatchStatement WebAclRuleStatementNotStatementStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    and_statement WebAclRuleStatementNotStatementStatementAndStatement
    Logical AND statement that combines multiple statements. See And Statement below.
    asn_match_statement WebAclRuleStatementNotStatementStatementAsnMatchStatement
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    byte_match_statement WebAclRuleStatementNotStatementStatementByteMatchStatement
    Match requests based on byte patterns. See Byte Match Statement below.
    geo_match_statement WebAclRuleStatementNotStatementStatementGeoMatchStatement
    Match requests by geographic location. See Geo Match Statement below.
    ip_set_reference_statement WebAclRuleStatementNotStatementStatementIpSetReferenceStatement
    Reference to an IP set. See IP Set Reference Statement below.
    label_match_statement WebAclRuleStatementNotStatementStatementLabelMatchStatement
    Match requests based on labels. See Label Match Statement below.
    managed_rule_group_statement WebAclRuleStatementNotStatementStatementManagedRuleGroupStatement
    Reference to a managed rule group. See Managed Rule Group Statement below.
    not_statement WebAclRuleStatementNotStatementStatementNotStatement
    Logical NOT statement that negates a single statement. See Not Statement below.
    or_statement WebAclRuleStatementNotStatementStatementOrStatement
    Logical OR statement that combines multiple statements. See Or Statement below.
    rate_based_statement WebAclRuleStatementNotStatementStatementRateBasedStatement
    Rate-based rule to track request rates. See Rate Based Statement below.
    regex_match_statement WebAclRuleStatementNotStatementStatementRegexMatchStatement
    Match requests using regex patterns. See Regex Match Statement below.
    regex_pattern_set_reference_statement WebAclRuleStatementNotStatementStatementRegexPatternSetReferenceStatement
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    rule_group_reference_statement WebAclRuleStatementNotStatementStatementRuleGroupReferenceStatement
    Reference to a rule group. See Rule Group Reference Statement below.
    size_constraint_statement WebAclRuleStatementNotStatementStatementSizeConstraintStatement
    Match requests based on size constraints. See Size Constraint Statement below.
    sqli_match_statement WebAclRuleStatementNotStatementStatementSqliMatchStatement
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    xss_match_statement WebAclRuleStatementNotStatementStatementXssMatchStatement

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    andStatement Property Map
    Logical AND statement that combines multiple statements. See And Statement below.
    asnMatchStatement Property Map
    Match requests based on Autonomous System Number (ASN). See ASN Match Statement below.
    byteMatchStatement Property Map
    Match requests based on byte patterns. See Byte Match Statement below.
    geoMatchStatement Property Map
    Match requests by geographic location. See Geo Match Statement below.
    ipSetReferenceStatement Property Map
    Reference to an IP set. See IP Set Reference Statement below.
    labelMatchStatement Property Map
    Match requests based on labels. See Label Match Statement below.
    managedRuleGroupStatement Property Map
    Reference to a managed rule group. See Managed Rule Group Statement below.
    notStatement Property Map
    Logical NOT statement that negates a single statement. See Not Statement below.
    orStatement Property Map
    Logical OR statement that combines multiple statements. See Or Statement below.
    rateBasedStatement Property Map
    Rate-based rule to track request rates. See Rate Based Statement below.
    regexMatchStatement Property Map
    Match requests using regex patterns. See Regex Match Statement below.
    regexPatternSetReferenceStatement Property Map
    Reference to a regex pattern set. See Regex Pattern Set Reference Statement below.
    ruleGroupReferenceStatement Property Map
    Reference to a rule group. See Rule Group Reference Statement below.
    sizeConstraintStatement Property Map
    Match requests based on size constraints. See Size Constraint Statement below.
    sqliMatchStatement Property Map
    Match requests that appear to contain SQL injection attacks. See SQL Injection Match Statement below.
    xssMatchStatement Property Map

    Match requests that appear to contain cross-site scripting attacks. See Cross-Site Scripting Match Statement below.

    NOTE: Logical statements (andStatement, notStatement, orStatement) can be nested up to 3 levels deep. This matches the nesting limit of the aws.wafv2.WebAcl resource.

    Import

    Identity Schema

    Required

    • name (String) Rule name, unique within the Web ACL.
    • webAclArn (String) ARN of the Web ACL.

    Optional

    • region (String) Region where this resource is managed.

    Using pulumi import, import WAFv2 Web ACL Rules using the webAclArn and name separated by a comma (,). For example:

    $ pulumi import aws:wafv2/webAclRule:WebAclRule example arn:aws:wafv2:us-east-1:123456789012:regional/webacl/example/abc123def456,my-rule
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.27.0
    published on Thursday, Apr 23, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.