AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::WAFRegional::SqlInjectionMatchSet

CfnSqlInjectionMatchSet

> AWS WAF Classic support will end on September 30, 2025. > > This is *AWS WAF Classic* documentation. For more information, see [AWS WAF Classic](https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) in the developer guide. > > *For the latest version of AWS WAF* , use the AWS WAF V2 API and see the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . With the latest version, AWS WAF has a single set of endpoints for regional and global use. A complex type that contains `SqlInjectionMatchTuple` objects, which specify the parts of web requests that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. If a `SqlInjectionMatchSet` contains more than one `SqlInjectionMatchTuple` object, a request needs to include snippets of SQL code in only one of the specified parts of the request to be considered a match.

Import

import { CfnSqlInjectionMatchSet } from 'aws-cdk-lib/aws-wafregional';

Or use the module namespace:

import * as wafregional from 'aws-cdk-lib/aws-wafregional';
// wafregional.CfnSqlInjectionMatchSet

Properties

Configuration passed to the constructor as CfnSqlInjectionMatchSetProps.

nameRequired
string

The name, if any, of the `SqlInjectionMatchSet` .

sqlInjectionMatchTuplesOptional
IResolvable | IResolvable | SqlInjectionMatchTupleProperty[]

Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-wafregional
CFN TypeAWS::WAFRegional::SqlInjectionMatchSet
Properties2

External Links