Class: AWSCDK::WAFv2::CfnWebACL::ExcludedRuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnWebACL::ExcludedRuleProperty
- 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, includingCount.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the rule whose action you want to override to
Count.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:) ⇒ ExcludedRuleProperty
constructor
A new instance of ExcludedRuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:) ⇒ ExcludedRuleProperty
Returns a new instance of ExcludedRuleProperty.
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
#name ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |