Class: AWSCDK::WAFv2::CfnWebACL::ExcludedRuleProperty

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

Overview

Specifies a single rule in a rule group whose action you want to override to Count .

Instead of this option, use RuleActionOverrides . It accepts any valid action setting, including Count .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ ExcludedRuleProperty

Returns a new instance of ExcludedRuleProperty.

Parameters:

  • name (String)

    The name of the rule whose action you want to override to Count .



2342
2343
2344
2345
# File 'wa_fv2/cfn_web_acl.rb', line 2342

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

Instance Attribute Details

#nameString (readonly)

The name of the rule whose action you want to override to Count .



2351
2352
2353
# File 'wa_fv2/cfn_web_acl.rb', line 2351

def name
  @name
end

Class Method Details

.jsii_propertiesObject



2353
2354
2355
2356
2357
# File 'wa_fv2/cfn_web_acl.rb', line 2353

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

Instance Method Details

#to_jsiiObject



2359
2360
2361
2362
2363
2364
2365
# File 'wa_fv2/cfn_web_acl.rb', line 2359

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