Class: AWSCDK::NetworkFirewall::CfnFirewallPolicy::IPSetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkFirewall::CfnFirewallPolicy::IPSetProperty
- Defined in:
- network_firewall/cfn_firewall_policy.rb
Overview
A list of IP addresses and address ranges, in CIDR notation.
This is part of a rule variable.
Instance Attribute Summary collapse
-
#definition ⇒ Array<String>?
readonly
The list of IP addresses and address ranges, in CIDR notation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(definition: nil) ⇒ IPSetProperty
constructor
A new instance of IPSetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(definition: nil) ⇒ IPSetProperty
Returns a new instance of IPSetProperty.
894 895 896 897 |
# File 'network_firewall/cfn_firewall_policy.rb', line 894 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
#definition ⇒ Array<String>? (readonly)
The list of IP addresses and address ranges, in CIDR notation.
903 904 905 |
# File 'network_firewall/cfn_firewall_policy.rb', line 903 def definition @definition end |
Class Method Details
.jsii_properties ⇒ Object
905 906 907 908 909 |
# File 'network_firewall/cfn_firewall_policy.rb', line 905 def self.jsii_properties { :definition => "definition", } end |
Instance Method Details
#to_jsii ⇒ Object
911 912 913 914 915 916 917 |
# File 'network_firewall/cfn_firewall_policy.rb', line 911 def to_jsii result = {} result.merge!({ "definition" => @definition, }) result.compact end |