interface CookieMatchPatternProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnWebACLPropsMixin.CookieMatchPatternProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnWebACLPropsMixin_CookieMatchPatternProperty |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLPropsMixin.CookieMatchPatternProperty |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnWebACLPropsMixin.CookieMatchPatternProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnWebACLPropsMixin » CookieMatchPatternProperty |
The filter to use to identify the subset of cookies to inspect in a web request.
You must specify exactly one setting: either All , IncludedCookies , or ExcludedCookies .
Example JSON: "MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
declare const all: any;
const cookieMatchPatternProperty: wafv2_mixins.CfnWebACLPropsMixin.CookieMatchPatternProperty = {
all: all,
excludedCookies: ['excludedCookies'],
includedCookies: ['includedCookies'],
};
Properties
| Name | Type | Description |
|---|---|---|
| all? | any | Inspect all cookies. |
| excluded | string[] | Inspect only the cookies whose keys don't match any of the strings specified here. |
| included | string[] | Inspect only the cookies that have a key that matches one of the strings specified here. |
all?
Type:
any
(optional)
Inspect all cookies.
excludedCookies?
Type:
string[]
(optional)
Inspect only the cookies whose keys don't match any of the strings specified here.
includedCookies?
Type:
string[]
(optional)
Inspect only the cookies that have a key that matches one of the strings specified here.

.NET
Go
Java
Python
TypeScript