Show / Hide Table of Contents

Class CfnRuleGroupPropsMixin.CookieMatchPatternProperty

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

Inheritance
object
CfnRuleGroupPropsMixin.CookieMatchPatternProperty
Implements
CfnRuleGroupPropsMixin.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.Mixins.Preview.AWS.WAFv2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRuleGroupPropsMixin.CookieMatchPatternProperty : CfnRuleGroupPropsMixin.ICookieMatchPatternProperty
Syntax (vb)
Public Class CfnRuleGroupPropsMixin.CookieMatchPatternProperty Implements CfnRuleGroupPropsMixin.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.Mixins.Preview.AWS.WAFv2.Mixins;

             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.Mixins.Preview.AWS.WAFv2.Mixins;

             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

CfnRuleGroupPropsMixin.ICookieMatchPatternProperty
Back to top Generated by DocFX