Class: AWSCDK::WAFv2::CfnWebACL::AndStatementProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(statements:) ⇒ AndStatementProperty

Returns a new instance of AndStatementProperty.

Parameters:



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

#statementsAWSCDK::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_propertiesObject



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_jsiiObject



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