Class: AWSCDK::WAFv2::CfnWebACL::HeaderOrderProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
wa_fv2/cfn_web_acl.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.



2886
2887
2888
2889
# File 'wa_fv2/cfn_web_acl.rb', line 2886

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.



2895
2896
2897
# File 'wa_fv2/cfn_web_acl.rb', line 2895

def oversize_handling
  @oversize_handling
end

Class Method Details

.jsii_propertiesObject



2897
2898
2899
2900
2901
# File 'wa_fv2/cfn_web_acl.rb', line 2897

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

Instance Method Details

#to_jsiiObject



2903
2904
2905
2906
2907
2908
2909
# File 'wa_fv2/cfn_web_acl.rb', line 2903

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