Class: AWSCDK::NetworkFirewall::CfnRuleGroup::PortSetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkFirewall::CfnRuleGroup::PortSetProperty
- Defined in:
- network_firewall/cfn_rule_group.rb
Overview
A set of port ranges for use in the rules in a rule group.
Instance Attribute Summary collapse
-
#definition ⇒ Array<String>?
readonly
The set of port ranges.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(definition: nil) ⇒ PortSetProperty
constructor
A new instance of PortSetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(definition: nil) ⇒ PortSetProperty
Returns a new instance of PortSetProperty.
1122 1123 1124 1125 |
# File 'network_firewall/cfn_rule_group.rb', line 1122 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 set of port ranges.
1131 1132 1133 |
# File 'network_firewall/cfn_rule_group.rb', line 1131 def definition @definition end |
Class Method Details
.jsii_properties ⇒ Object
1133 1134 1135 1136 1137 |
# File 'network_firewall/cfn_rule_group.rb', line 1133 def self.jsii_properties { :definition => "definition", } end |
Instance Method Details
#to_jsii ⇒ Object
1139 1140 1141 1142 1143 1144 1145 |
# File 'network_firewall/cfn_rule_group.rb', line 1139 def to_jsii result = {} result.merge!({ "definition" => @definition, }) result.compact end |