Class: AWSCDK::NetworkFirewall::CfnRuleGroup::ReferenceSetsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
network_firewall/cfn_rule_group.rb

Overview

Configures the reference sets for a stateful rule group.

For more information, see the Using IP set references in Suricata compatible rule groups in the Network Firewall User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip_set_references: nil) ⇒ ReferenceSetsProperty

Returns a new instance of ReferenceSetsProperty.

Parameters:



1190
1191
1192
1193
# File 'network_firewall/cfn_rule_group.rb', line 1190

def initialize(ip_set_references: nil)
  @ip_set_references = ip_set_references
  Jsii::Type.check_type(@ip_set_references, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbmV0d29ya2ZpcmV3YWxsLkNmblJ1bGVHcm91cC5JUFNldFJlZmVyZW5jZVByb3BlcnR5In1dfX0sImtpbmQiOiJtYXAifX1dfX0=")), "ipSetReferences") unless @ip_set_references.nil?
end

Instance Attribute Details

#ip_set_referencesAWSCDK::IResolvable, ... (readonly)

The IP set references to use in the stateful rule group.



1199
1200
1201
# File 'network_firewall/cfn_rule_group.rb', line 1199

def ip_set_references
  @ip_set_references
end

Class Method Details

.jsii_propertiesObject



1201
1202
1203
1204
1205
# File 'network_firewall/cfn_rule_group.rb', line 1201

def self.jsii_properties
  {
    :ip_set_references => "ipSetReferences",
  }
end

Instance Method Details

#to_jsiiObject



1207
1208
1209
1210
1211
1212
1213
# File 'network_firewall/cfn_rule_group.rb', line 1207

def to_jsii
  result = {}
  result.merge!({
    "ipSetReferences" => @ip_set_references,
  })
  result.compact
end