AWS WAF Regional Regional Byte Match Set

This page shows how to write Terraform and CloudFormation for AWS WAF Regional Regional Byte Match Set and write them securely.

aws_wafregional_byte_match_set (Terraform)

The Regional Byte Match Set in AWS WAF Regional can be configured in Terraform with the resource name aws_wafregional_byte_match_set. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

github-icondwp/dataworks-metrics-infrastructure
resource "aws_wafregional_byte_match_set" "match_auth_tokens" {
  name = "match-auth-tokens"

  byte_match_tuples {
    text_transformation   = "URL_DECODE"
    target_string         = ".TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ"
github-icondwp/aws-analytical-env
resource "aws_wafregional_byte_match_set" "match_auth_tokens" {
  name = "match-auth-tokens"

  byte_match_tuples {
    text_transformation   = "URL_DECODE"
    target_string         = ".TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ"

Parameters

  • id optionalcomputed - string
  • name required - string

Explanation in Terraform Registry

Provides a WAF Regional Byte Match Set Resource for use with Application Load Balancer.

AWS::WAFRegional::ByteMatchSet (CloudFormation)

The ByteMatchSet in WAFRegional can be configured in CloudFormation with the resource name AWS::WAFRegional::ByteMatchSet. The following sections describe how to use the resource and its parameters.

Parameters

Explanation in CloudFormation Registry

Note This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide. For the latest version of AWS WAF , use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use. The AWS::WAFRegional::ByteMatchSet resource creates an AWS WAF ByteMatchSet that identifies a part of a web request that you want to inspect.

Frequently asked questions

What is AWS WAF Regional Regional Byte Match Set?

AWS WAF Regional Regional Byte Match Set is a resource for WAF Regional of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS WAF Regional Regional Byte Match Set?

For Terraform, the dwp/dataworks-metrics-infrastructure and dwp/aws-analytical-env source code examples are useful. See the Terraform Example section for further details.