Class: AWSCDK::NetworkFirewall::CfnRuleGroup::IPSetProperty

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

Overview

A list of IP addresses and address ranges, in CIDR notation.

This is part of a RuleVariables .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definition: nil) ⇒ IPSetProperty

Returns a new instance of IPSetProperty.

Parameters:

  • definition (Array<String>, nil) (defaults to: nil)

    The list of IP addresses and address ranges, in CIDR notation.



902
903
904
905
# File 'network_firewall/cfn_rule_group.rb', line 902

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

Instance Attribute Details

#definitionArray<String>? (readonly)

The list of IP addresses and address ranges, in CIDR notation.



911
912
913
# File 'network_firewall/cfn_rule_group.rb', line 911

def definition
  @definition
end

Class Method Details

.jsii_propertiesObject



913
914
915
916
917
# File 'network_firewall/cfn_rule_group.rb', line 913

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

Instance Method Details

#to_jsiiObject



919
920
921
922
923
924
925
# File 'network_firewall/cfn_rule_group.rb', line 919

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