Show / Hide Table of Contents

Class CfnWebACLPropsMixin.UriFragmentProperty

Inspect fragments of the request URI.

Inheritance
object
CfnWebACLPropsMixin.UriFragmentProperty
Implements
CfnWebACLPropsMixin.IUriFragmentProperty
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 CfnWebACLPropsMixin.UriFragmentProperty : CfnWebACLPropsMixin.IUriFragmentProperty
Syntax (vb)
Public Class CfnWebACLPropsMixin.UriFragmentProperty Implements CfnWebACLPropsMixin.IUriFragmentProperty
Remarks

You can specify the parts of the URI fragment to inspect and you can narrow the set of URI fragments to inspect by including or excluding specific keys.

This is used to indicate the web request component to inspect, in the FieldToMatch specification.

Example JSON: "UriFragment": { "MatchPattern": { "All": {} }, "MatchScope": "KEY", "OversizeHandling": "MATCH" }

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-urifragment.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 uriFragmentProperty = new UriFragmentProperty {
                 FallbackBehavior = "fallbackBehavior"
             };

Synopsis

Constructors

UriFragmentProperty()

Inspect fragments of the request URI.

Properties

FallbackBehavior

What AWS WAF should do if it fails to completely parse the JSON body. The options are the following:.

Constructors

UriFragmentProperty()

Inspect fragments of the request URI.

public UriFragmentProperty()
Remarks

You can specify the parts of the URI fragment to inspect and you can narrow the set of URI fragments to inspect by including or excluding specific keys.

This is used to indicate the web request component to inspect, in the FieldToMatch specification.

Example JSON: "UriFragment": { "MatchPattern": { "All": {} }, "MatchScope": "KEY", "OversizeHandling": "MATCH" }

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-urifragment.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 uriFragmentProperty = new UriFragmentProperty {
                 FallbackBehavior = "fallbackBehavior"
             };

Properties

FallbackBehavior

What AWS WAF should do if it fails to completely parse the JSON body. The options are the following:.

public string? FallbackBehavior { get; set; }
Property Value

string

Remarks

    If you don't provide this setting, AWS WAF parses and evaluates the content only up to the first parsing failure that it encounters.

    Example JSON: { "UriFragment": { "FallbackBehavior": "MATCH"} }

    AWS WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When parsing succeeds, AWS WAF doesn't apply the fallback behavior. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body">JSON body</a> in the <em>AWS WAF Developer Guide</em> .
    

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-urifragment.html#cfn-wafv2-webacl-urifragment-fallbackbehavior

    Implements

    CfnWebACLPropsMixin.IUriFragmentProperty
    Back to top Generated by DocFX