Class: AWSCDK::WAFv2::CfnRuleGroup::AndStatementProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnRuleGroup::AndStatementProperty
- Defined in:
- wa_fv2/cfn_rule_group.rb
Overview
A logical rule statement used to combine other rule statements with AND logic.
You provide more than one Statement within the AndStatement .
Instance Attribute Summary collapse
-
#statements ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WAFv2::CfnRuleGroup::StatementProperty>
readonly
The statements to combine with AND logic.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(statements:) ⇒ AndStatementProperty
constructor
A new instance of AndStatementProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(statements:) ⇒ AndStatementProperty
Returns a new instance of AndStatementProperty.
712 713 714 715 |
# File 'wa_fv2/cfn_rule_group.rb', line 712 def initialize(statements:) @statements = statements Jsii::Type.check_type(@statements, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd2FmdjIuQ2ZuUnVsZUdyb3VwLlN0YXRlbWVudFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "statements") end |
Instance Attribute Details
#statements ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WAFv2::CfnRuleGroup::StatementProperty> (readonly)
The statements to combine with AND logic.
You can use any statements that can be nested.
723 724 725 |
# File 'wa_fv2/cfn_rule_group.rb', line 723 def statements @statements end |
Class Method Details
.jsii_properties ⇒ Object
725 726 727 728 729 |
# File 'wa_fv2/cfn_rule_group.rb', line 725 def self.jsii_properties { :statements => "statements", } end |
Instance Method Details
#to_jsii ⇒ Object
731 732 733 734 735 736 737 |
# File 'wa_fv2/cfn_rule_group.rb', line 731 def to_jsii result = {} result.merge!({ "statements" => @statements, }) result.compact end |