Skip to content
v2.273.0

CfnSqlInjectionMatchSetProps Struct ​

Properties for defining a CfnSqlInjectionMatchSet.

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 cfnSqlInjectionMatchSetProps: waf.CfnSqlInjectionMatchSetProps = {
  name: 'name',

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

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

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
The name, if any, of the `SqlInjectionMatchSet` .
sqlInjectionMatchTuplesIResolvable | IResolvable | CfnSqlInjectionMatchSet.SqlInjectionMatchTupleProperty[]sql_injection_match_tuplestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SqlInjectionMatchTupleProperty]]]sqlInjectionMatchTuplesIResolvableSqlInjectionMatchTuplesIResolvableSqlInjectionMatchTuplesinterface{}#
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.

Used as props by ​