interface SingleHeaderProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.WAFv2.CfnWebACL.SingleHeaderProperty |
Java | software.amazon.awscdk.services.wafv2.CfnWebACL.SingleHeaderProperty |
Python | aws_cdk.aws_wafv2.CfnWebACL.SingleHeaderProperty |
TypeScript | @aws-cdk/aws-wafv2 » CfnWebACL » SingleHeaderProperty |
Inspect one of the headers in the web request, identified by name, for example, User-Agent
or Referer
.
The name isn't case sensitive.
You can filter and inspect all headers with the FieldToMatch
setting Headers
.
This is used to indicate the web request component to inspect, in the FieldToMatch
specification.
Example JSON: "SingleHeader": { "Name": "haystack" }
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as wafv2 from '@aws-cdk/aws-wafv2';
const singleHeaderProperty: wafv2.CfnWebACL.SingleHeaderProperty = {
name: 'name',
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the query header to inspect. |
name
Type:
string
The name of the query header to inspect.