A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/WAFV2/Types/CreateWebACLRequest.html below:

CreateWebACLRequest — AWS SDK for Ruby V2

When passing CreateWebACLRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "EntityName",   scope: "CLOUDFRONT",   default_action: {     block: {
    },
    allow: {
    },
  },
  description: "EntityDescription",
  rules: [
    {
      name: "EntityName",       priority: 1,       statement: {         byte_match_statement: {
          search_string: "data",           field_to_match: {             single_header: {
              name: "FieldToMatchData",             },
            single_query_argument: {
              name: "FieldToMatchData",             },
            all_query_arguments: {
            },
            uri_path: {
            },
            query_string: {
            },
            body: {
            },
            method: {
            },
          },
          text_transformations: [             {
              priority: 1,               type: "NONE",             },
          ],
          positional_constraint: "EXACTLY",         },
        sqli_match_statement: {
          field_to_match: {             single_header: {
              name: "FieldToMatchData",             },
            single_query_argument: {
              name: "FieldToMatchData",             },
            all_query_arguments: {
            },
            uri_path: {
            },
            query_string: {
            },
            body: {
            },
            method: {
            },
          },
          text_transformations: [             {
              priority: 1,               type: "NONE",             },
          ],
        },
        xss_match_statement: {
          field_to_match: {             single_header: {
              name: "FieldToMatchData",             },
            single_query_argument: {
              name: "FieldToMatchData",             },
            all_query_arguments: {
            },
            uri_path: {
            },
            query_string: {
            },
            body: {
            },
            method: {
            },
          },
          text_transformations: [             {
              priority: 1,               type: "NONE",             },
          ],
        },
        size_constraint_statement: {
          field_to_match: {             single_header: {
              name: "FieldToMatchData",             },
            single_query_argument: {
              name: "FieldToMatchData",             },
            all_query_arguments: {
            },
            uri_path: {
            },
            query_string: {
            },
            body: {
            },
            method: {
            },
          },
          comparison_operator: "EQ",           size: 1,           text_transformations: [             {
              priority: 1,               type: "NONE",             },
          ],
        },
        geo_match_statement: {
          country_codes: ["AF"],           forwarded_ip_config: {
            header_name: "ForwardedIPHeaderName",             fallback_behavior: "MATCH",           },
        },
        rule_group_reference_statement: {
          arn: "ResourceArn",           excluded_rules: [
            {
              name: "EntityName",             },
          ],
        },
        ip_set_reference_statement: {
          arn: "ResourceArn",           ip_set_forwarded_ip_config: {
            header_name: "ForwardedIPHeaderName",             fallback_behavior: "MATCH",             position: "FIRST",           },
        },
        regex_pattern_set_reference_statement: {
          arn: "ResourceArn",           field_to_match: {             single_header: {
              name: "FieldToMatchData",             },
            single_query_argument: {
              name: "FieldToMatchData",             },
            all_query_arguments: {
            },
            uri_path: {
            },
            query_string: {
            },
            body: {
            },
            method: {
            },
          },
          text_transformations: [             {
              priority: 1,               type: "NONE",             },
          ],
        },
        rate_based_statement: {
          limit: 1,           aggregate_key_type: "IP",           scope_down_statement: {
                      },
          forwarded_ip_config: {
            header_name: "ForwardedIPHeaderName",             fallback_behavior: "MATCH",           },
        },
        and_statement: {
          statements: [             {
                          },
          ],
        },
        or_statement: {
          statements: [             {
                          },
          ],
        },
        not_statement: {
          statement: {                       },
        },
        managed_rule_group_statement: {
          vendor_name: "VendorName",           name: "EntityName",           excluded_rules: [
            {
              name: "EntityName",             },
          ],
        },
      },
      action: {
        block: {
        },
        allow: {
        },
        count: {
        },
      },
      override_action: {
        count: {
        },
        none: {
        },
      },
      visibility_config: {         sampled_requests_enabled: false,         cloud_watch_metrics_enabled: false,         metric_name: "MetricName",       },
    },
  ],
  visibility_config: {     sampled_requests_enabled: false,     cloud_watch_metrics_enabled: false,     metric_name: "MetricName",   },
  tags: [
    {
      key: "TagKey",       value: "TagValue",     },
  ],
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4