Class: AWSCDK::WAFv2::CfnRuleGroup::LabelSummaryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnRuleGroup::LabelSummaryProperty
- Defined in:
- wa_fv2/cfn_rule_group.rb
Overview
List of labels used by one or more of the rules of a RuleGroup .
This summary object is used for the following rule group lists:
AvailableLabels- Labels that rules add to matching requests. These labels are defined in theRuleLabelsfor a rule.ConsumedLabels- Labels that rules match against. These labels are defined in aLabelMatchStatementspecification, in theStatementdefinition of a rule.
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
An individual label specification.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil) ⇒ LabelSummaryProperty
constructor
A new instance of LabelSummaryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil) ⇒ LabelSummaryProperty
Returns a new instance of LabelSummaryProperty.
2565 2566 2567 2568 |
# File 'wa_fv2/cfn_rule_group.rb', line 2565 def initialize(name: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#name ⇒ String? (readonly)
An individual label specification.
2574 2575 2576 |
# File 'wa_fv2/cfn_rule_group.rb', line 2574 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
2576 2577 2578 2579 2580 |
# File 'wa_fv2/cfn_rule_group.rb', line 2576 def self.jsii_properties { :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
2582 2583 2584 2585 2586 2587 2588 |
# File 'wa_fv2/cfn_rule_group.rb', line 2582 def to_jsii result = {} result.merge!({ "name" => @name, }) result.compact end |