aws-cdk-lib.aws_wafregional.CfnByteMatchSetProps

interface CfnByteMatchSetProps

LanguageType name
.NETAmazon.CDK.AWS.WAFRegional.CfnByteMatchSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafregional#CfnByteMatchSetProps
Javasoftware.amazon.awscdk.services.waf.regional.CfnByteMatchSetProps
Pythonaws_cdk.aws_wafregional.CfnByteMatchSetProps
TypeScript aws-cdk-lib » aws_wafregional » CfnByteMatchSetProps

Properties for defining a CfnByteMatchSet.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafregional as wafregional } from 'aws-cdk-lib';
const cfnByteMatchSetProps: wafregional.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

NameTypeDescription
namestringA friendly name or description of the ByteMatchSet .
byteMatchTuples?IResolvable | IResolvable | ByteMatchTupleProperty[]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

Type: string

A friendly name or description of the ByteMatchSet .

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


byteMatchTuples?

Type: IResolvable | IResolvable | ByteMatchTupleProperty[] (optional)

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.