Class: AWSCDK::WAFv2::CfnWebACL::AndStatementProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnWebACL::AndStatementProperty
- Defined in:
- wa_fv2/cfn_web_acl.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::CfnWebACL::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.
1091 1092 1093 1094 |
# File 'wa_fv2/cfn_web_acl.rb', line 1091 def initialize(statements:) @statements = statements Jsii::Type.check_type(@statements, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd2FmdjIuQ2ZuV2ViQUNMLlN0YXRlbWVudFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "statements") end |
Instance Attribute Details
#statements ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WAFv2::CfnWebACL::StatementProperty> (readonly)
The statements to combine with AND logic.
You can use any statements that can be nested.
1102 1103 1104 |
# File 'wa_fv2/cfn_web_acl.rb', line 1102 def statements @statements end |
Class Method Details
.jsii_properties ⇒ Object
1104 1105 1106 1107 1108 |
# File 'wa_fv2/cfn_web_acl.rb', line 1104 def self.jsii_properties { :statements => "statements", } end |
Instance Method Details
#to_jsii ⇒ Object
1110 1111 1112 1113 1114 1115 1116 |
# File 'wa_fv2/cfn_web_acl.rb', line 1110 def to_jsii result = {} result.merge!({ "statements" => @statements, }) result.compact end |