Show / Hide Table of Contents

Class CfnRuleGroup.AsnMatchStatementProperty

A rule statement that inspects web traffic based on the Autonomous System Number (ASN) associated with the request's IP address.

Inheritance
object
CfnRuleGroup.AsnMatchStatementProperty
Implements
CfnRuleGroup.IAsnMatchStatementProperty
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.AsnMatchStatementProperty : CfnRuleGroup.IAsnMatchStatementProperty
Syntax (vb)
Public Class CfnRuleGroup.AsnMatchStatementProperty Implements CfnRuleGroup.IAsnMatchStatementProperty
Remarks

For additional details, see ASN match rule statement in the AWS WAF Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-asnmatchstatement.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 asnMatchStatementProperty = new AsnMatchStatementProperty {
                 AsnList = new [] { 123 },
                 ForwardedIpConfig = new ForwardedIPConfigurationProperty {
                     FallbackBehavior = "fallbackBehavior",
                     HeaderName = "headerName"
                 }
             };

Synopsis

Constructors

AsnMatchStatementProperty()

A rule statement that inspects web traffic based on the Autonomous System Number (ASN) associated with the request's IP address.

Properties

AsnList

Contains one or more Autonomous System Numbers (ASNs).

ForwardedIpConfig

The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.

Constructors

AsnMatchStatementProperty()

A rule statement that inspects web traffic based on the Autonomous System Number (ASN) associated with the request's IP address.

public AsnMatchStatementProperty()
Remarks

For additional details, see ASN match rule statement in the AWS WAF Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-asnmatchstatement.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 asnMatchStatementProperty = new AsnMatchStatementProperty {
                 AsnList = new [] { 123 },
                 ForwardedIpConfig = new ForwardedIPConfigurationProperty {
                     FallbackBehavior = "fallbackBehavior",
                     HeaderName = "headerName"
                 }
             };

Properties

AsnList

Contains one or more Autonomous System Numbers (ASNs).

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

object

Remarks

ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.

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

ForwardedIpConfig

The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.

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

object

Remarks

Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.

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

Implements

CfnRuleGroup.IAsnMatchStatementProperty
Back to top Generated by DocFX