Class: AWSCDK::NetworkFirewall::CfnFirewallPolicy::StatefulRuleGroupOverrideProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkFirewall::CfnFirewallPolicy::StatefulRuleGroupOverrideProperty
- Defined in:
- network_firewall/cfn_firewall_policy.rb
Overview
The setting that allows the policy owner to change the behavior of the rule group within a policy.
Instance Attribute Summary collapse
-
#action ⇒ String?
readonly
The action that changes the rule group from
DROPtoALERT.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action: nil) ⇒ StatefulRuleGroupOverrideProperty
constructor
A new instance of StatefulRuleGroupOverrideProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action: nil) ⇒ StatefulRuleGroupOverrideProperty
Returns a new instance of StatefulRuleGroupOverrideProperty.
1056 1057 1058 1059 |
# File 'network_firewall/cfn_firewall_policy.rb', line 1056 def initialize(action: nil) @action = action Jsii::Type.check_type(@action, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "action") unless @action.nil? end |
Instance Attribute Details
#action ⇒ String? (readonly)
The action that changes the rule group from DROP to ALERT .
This only applies to managed rule groups.
1067 1068 1069 |
# File 'network_firewall/cfn_firewall_policy.rb', line 1067 def action @action end |
Class Method Details
.jsii_properties ⇒ Object
1069 1070 1071 1072 1073 |
# File 'network_firewall/cfn_firewall_policy.rb', line 1069 def self.jsii_properties { :action => "action", } end |
Instance Method Details
#to_jsii ⇒ Object
1075 1076 1077 1078 1079 1080 1081 |
# File 'network_firewall/cfn_firewall_policy.rb', line 1075 def to_jsii result = {} result.merge!({ "action" => @action, }) result.compact end |