# CfnByteMatchSetProps

Properties for defining a `CfnByteMatchSet`.

Extends: CfnByteMatchSetProps
Used as props by: CfnByteMatchSet

- Source: Generated code

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_waf as waf } from 'aws-cdk-lib';
const cfnByteMatchSetProps: waf.CfnByteMatchSetProps = {
  name: 'name',

  // the properties below are optional
  byteMatchTuples: [{
    fieldToMatch: {
      type: 'type',

      // the properties below are optional
      data: 'data',
    },
    positionalConstraint: 'positionalConstraint',
    textTransformation: 'textTransformation',

    // the properties below are optional
    targetString: 'targetString',
    targetStringBase64: 'targetStringBase64',
  }],
};
```

## Properties

- `byteMatchTuples`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnByteMatchSet.ByteMatchTupleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_waf.CfnByteMatchSet.ByteMatchTupleProperty.html)[] — Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

- `name`: string (required) — The name of the `ByteMatchSet` .

  You can't change `Name` after you create a `ByteMatchSet` .
