Show / Hide Table of Contents

Class CfnRuleGroup.CookieMatchPatternProperty

The filter to use to identify the subset of cookies to inspect in a web request.

Inheritance
object
CfnRuleGroup.CookieMatchPatternProperty
Implements
CfnRuleGroup.ICookieMatchPatternProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRuleGroup.CookieMatchPatternProperty : CfnRuleGroup.ICookieMatchPatternProperty
Syntax (vb)
Public Class CfnRuleGroup.CookieMatchPatternProperty Implements CfnRuleGroup.ICookieMatchPatternProperty
Remarks

You must specify exactly one setting: either All , IncludedCookies , or ExcludedCookies .

Example JSON: "MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-cookiematchpattern.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.WAFv2;

             var all;

             var cookieMatchPatternProperty = new CookieMatchPatternProperty {
                 All = all,
                 ExcludedCookies = new [] { "excludedCookies" },
                 IncludedCookies = new [] { "includedCookies" }
             };

Synopsis

Constructors

CookieMatchPatternProperty()

The filter to use to identify the subset of cookies to inspect in a web request.

Properties

All

Inspect all cookies.

ExcludedCookies

Inspect only the cookies whose keys don't match any of the strings specified here.

IncludedCookies

Inspect only the cookies that have a key that matches one of the strings specified here.

Constructors

CookieMatchPatternProperty()

The filter to use to identify the subset of cookies to inspect in a web request.

public CookieMatchPatternProperty()
Remarks

You must specify exactly one setting: either All , IncludedCookies , or ExcludedCookies .

Example JSON: "MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-cookiematchpattern.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.WAFv2;

             var all;

             var cookieMatchPatternProperty = new CookieMatchPatternProperty {
                 All = all,
                 ExcludedCookies = new [] { "excludedCookies" },
                 IncludedCookies = new [] { "includedCookies" }
             };

Properties

All

Inspect all cookies.

public object? All { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-cookiematchpattern.html#cfn-wafv2-rulegroup-cookiematchpattern-all

ExcludedCookies

Inspect only the cookies whose keys don't match any of the strings specified here.

public string[]? ExcludedCookies { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-cookiematchpattern.html#cfn-wafv2-rulegroup-cookiematchpattern-excludedcookies

IncludedCookies

Inspect only the cookies that have a key that matches one of the strings specified here.

public string[]? IncludedCookies { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-cookiematchpattern.html#cfn-wafv2-rulegroup-cookiematchpattern-includedcookies

Implements

CfnRuleGroup.ICookieMatchPatternProperty
Back to top Generated by DocFX