Class: AWSCDK::WAFv2::CfnWebACL::OrStatementProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnWebACL::OrStatementProperty
- Defined in:
- wa_fv2/cfn_web_acl.rb
Overview
A logical rule statement used to combine other rule statements with OR logic.
You provide more than one Statement within the OrStatement .
Instance Attribute Summary collapse
-
#statements ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WAFv2::CfnWebACL::StatementProperty>
readonly
The statements to combine with OR logic.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(statements:) ⇒ OrStatementProperty
constructor
A new instance of OrStatementProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(statements:) ⇒ OrStatementProperty
Returns a new instance of OrStatementProperty.
3894 3895 3896 3897 |
# File 'wa_fv2/cfn_web_acl.rb', line 3894 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 OR logic.
You can use any statements that can be nested.
3905 3906 3907 |
# File 'wa_fv2/cfn_web_acl.rb', line 3905 def statements @statements end |
Class Method Details
.jsii_properties ⇒ Object
3907 3908 3909 3910 3911 |
# File 'wa_fv2/cfn_web_acl.rb', line 3907 def self.jsii_properties { :statements => "statements", } end |
Instance Method Details
#to_jsii ⇒ Object
3913 3914 3915 3916 3917 3918 3919 |
# File 'wa_fv2/cfn_web_acl.rb', line 3913 def to_jsii result = {} result.merge!({ "statements" => @statements, }) result.compact end |