Class: AWSCDK::NetworkFirewall::CfnRuleGroup::IPSetReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkFirewall::CfnRuleGroup::IPSetReferenceProperty
- Defined in:
- network_firewall/cfn_rule_group.rb
Overview
Configures one or more IP set references for a Suricata-compatible rule group.
An IP set reference is a rule variable that references a resource that you create and manage in another AWS service, such as an Amazon VPC prefix list. Network Firewall IP set references enable you to dynamically update the contents of your rules. When you create, update, or delete the IP set you are referencing in your rule, Network Firewall automatically updates the rule's content with the changes. For more information about IP set references in Network Firewall , see Using IP set references in the Network Firewall Developer Guide .
Instance Attribute Summary collapse
-
#reference_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the resource to include in the IP set reference.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(reference_arn: nil) ⇒ IPSetReferenceProperty
constructor
A new instance of IPSetReferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(reference_arn: nil) ⇒ IPSetReferenceProperty
Returns a new instance of IPSetReferenceProperty.
937 938 939 940 |
# File 'network_firewall/cfn_rule_group.rb', line 937 def initialize(reference_arn: nil) @reference_arn = reference_arn Jsii::Type.check_type(@reference_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "referenceArn") unless @reference_arn.nil? end |
Instance Attribute Details
#reference_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the resource to include in the IP set reference.
946 947 948 |
# File 'network_firewall/cfn_rule_group.rb', line 946 def reference_arn @reference_arn end |
Class Method Details
.jsii_properties ⇒ Object
948 949 950 951 952 |
# File 'network_firewall/cfn_rule_group.rb', line 948 def self.jsii_properties { :reference_arn => "referenceArn", } end |
Instance Method Details
#to_jsii ⇒ Object
954 955 956 957 958 959 960 |
# File 'network_firewall/cfn_rule_group.rb', line 954 def to_jsii result = {} result.merge!({ "referenceArn" => @reference_arn, }) result.compact end |