Class: AWSCDK::WAFv2::CfnLoggingConfiguration::LabelNameConditionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnLoggingConfiguration::LabelNameConditionProperty
- Defined in:
- wa_fv2/cfn_logging_configuration.rb
Overview
A single label name condition for a condition in a logging filter.
Instance Attribute Summary collapse
-
#label_name ⇒ String
readonly
The label name that a log record must contain in order to meet the condition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label_name:) ⇒ LabelNameConditionProperty
constructor
A new instance of LabelNameConditionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(label_name:) ⇒ LabelNameConditionProperty
Returns a new instance of LabelNameConditionProperty.
836 837 838 839 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 836 def initialize(label_name:) @label_name = label_name Jsii::Type.check_type(@label_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "labelName") end |
Instance Attribute Details
#label_name ⇒ String (readonly)
The label name that a log record must contain in order to meet the condition.
This must be a fully qualified label name. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
847 848 849 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 847 def label_name @label_name end |
Class Method Details
.jsii_properties ⇒ Object
849 850 851 852 853 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 849 def self.jsii_properties { :label_name => "labelName", } end |
Instance Method Details
#to_jsii ⇒ Object
855 856 857 858 859 860 861 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 855 def to_jsii result = {} result.merge!({ "labelName" => @label_name, }) result.compact end |