Class: AWSCDK::WAFv2::CfnRuleGroup::HeaderOrderProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
wa_fv2/cfn_rule_group.rb

Overview

The string containing the list of a web request's header names, ordered as they appear in the web request, separated by colons.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(oversize_handling:) ⇒ HeaderOrderProperty

Returns a new instance of HeaderOrderProperty.

Parameters:

  • oversize_handling (String)

    Handling of requests containing oversize fields.



1951
1952
1953
1954
# File 'wa_fv2/cfn_rule_group.rb', line 1951

def initialize(oversize_handling:)
  @oversize_handling = oversize_handling
  Jsii::Type.check_type(@oversize_handling, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "oversizeHandling")
end

Instance Attribute Details

#oversize_handlingString (readonly)

Handling of requests containing oversize fields.



1960
1961
1962
# File 'wa_fv2/cfn_rule_group.rb', line 1960

def oversize_handling
  @oversize_handling
end

Class Method Details

.jsii_propertiesObject



1962
1963
1964
1965
1966
# File 'wa_fv2/cfn_rule_group.rb', line 1962

def self.jsii_properties
  {
    :oversize_handling => "oversizeHandling",
  }
end

Instance Method Details

#to_jsiiObject



1968
1969
1970
1971
1972
1973
1974
# File 'wa_fv2/cfn_rule_group.rb', line 1968

def to_jsii
  result = {}
  result.merge!({
    "oversizeHandling" => @oversize_handling,
  })
  result.compact
end