AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::NetworkFirewall::Model::StatefulRule Class Reference

#include <StatefulRule.h>

Public Member Functions

 StatefulRule ()
 
 StatefulRule (Aws::Utils::Json::JsonView jsonValue)
 
StatefulRuleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const StatefulActionGetAction () const
 
bool ActionHasBeenSet () const
 
void SetAction (const StatefulAction &value)
 
void SetAction (StatefulAction &&value)
 
StatefulRuleWithAction (const StatefulAction &value)
 
StatefulRuleWithAction (StatefulAction &&value)
 
const HeaderGetHeader () const
 
bool HeaderHasBeenSet () const
 
void SetHeader (const Header &value)
 
void SetHeader (Header &&value)
 
StatefulRuleWithHeader (const Header &value)
 
StatefulRuleWithHeader (Header &&value)
 
const Aws::Vector< RuleOption > & GetRuleOptions () const
 
bool RuleOptionsHasBeenSet () const
 
void SetRuleOptions (const Aws::Vector< RuleOption > &value)
 
void SetRuleOptions (Aws::Vector< RuleOption > &&value)
 
StatefulRuleWithRuleOptions (const Aws::Vector< RuleOption > &value)
 
StatefulRuleWithRuleOptions (Aws::Vector< RuleOption > &&value)
 
StatefulRuleAddRuleOptions (const RuleOption &value)
 
StatefulRuleAddRuleOptions (RuleOption &&value)
 

Detailed Description

A single 5-tuple stateful rule, for use in a stateful rule group.

See Also:

AWS API Reference

Definition at line 35 of file StatefulRule.h.

Constructor & Destructor Documentation

◆ StatefulRule() [1/2]

Aws::NetworkFirewall::Model::StatefulRule::StatefulRule ( )

◆ StatefulRule() [2/2]

Aws::NetworkFirewall::Model::StatefulRule::StatefulRule ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ActionHasBeenSet()

bool Aws::NetworkFirewall::Model::StatefulRule::ActionHasBeenSet ( ) const
inline

Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

The actions for a stateful rule are defined as follows:

  • PASS - Permits the packets to go to the intended destination.

  • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

  • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

    You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

Definition at line 78 of file StatefulRule.h.

◆ AddRuleOptions() [1/2]

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::AddRuleOptions ( const RuleOption value)
inline

Definition at line 223 of file StatefulRule.h.

◆ AddRuleOptions() [2/2]

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::AddRuleOptions ( RuleOption &&  value)
inline

Definition at line 228 of file StatefulRule.h.

◆ GetAction()

const StatefulAction& Aws::NetworkFirewall::Model::StatefulRule::GetAction ( ) const
inline

Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

The actions for a stateful rule are defined as follows:

  • PASS - Permits the packets to go to the intended destination.

  • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

  • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

    You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

Definition at line 60 of file StatefulRule.h.

◆ GetHeader()

const Header& Aws::NetworkFirewall::Model::StatefulRule::GetHeader ( ) const
inline

The stateful 5-tuple inspection criteria for this rule, used to inspect traffic flows.

Definition at line 157 of file StatefulRule.h.

◆ GetRuleOptions()

const Aws::Vector<RuleOption>& Aws::NetworkFirewall::Model::StatefulRule::GetRuleOptions ( ) const
inline

Definition at line 193 of file StatefulRule.h.

◆ HeaderHasBeenSet()

bool Aws::NetworkFirewall::Model::StatefulRule::HeaderHasBeenSet ( ) const
inline

The stateful 5-tuple inspection criteria for this rule, used to inspect traffic flows.

Definition at line 163 of file StatefulRule.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::NetworkFirewall::Model::StatefulRule::Jsonize ( ) const

◆ operator=()

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RuleOptionsHasBeenSet()

bool Aws::NetworkFirewall::Model::StatefulRule::RuleOptionsHasBeenSet ( ) const
inline

Definition at line 198 of file StatefulRule.h.

◆ SetAction() [1/2]

void Aws::NetworkFirewall::Model::StatefulRule::SetAction ( const StatefulAction value)
inline

Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

The actions for a stateful rule are defined as follows:

  • PASS - Permits the packets to go to the intended destination.

  • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

  • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

    You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

Definition at line 96 of file StatefulRule.h.

◆ SetAction() [2/2]

void Aws::NetworkFirewall::Model::StatefulRule::SetAction ( StatefulAction &&  value)
inline

Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

The actions for a stateful rule are defined as follows:

  • PASS - Permits the packets to go to the intended destination.

  • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

  • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

    You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

Definition at line 114 of file StatefulRule.h.

◆ SetHeader() [1/2]

void Aws::NetworkFirewall::Model::StatefulRule::SetHeader ( const Header value)
inline

The stateful 5-tuple inspection criteria for this rule, used to inspect traffic flows.

Definition at line 169 of file StatefulRule.h.

◆ SetHeader() [2/2]

void Aws::NetworkFirewall::Model::StatefulRule::SetHeader ( Header &&  value)
inline

The stateful 5-tuple inspection criteria for this rule, used to inspect traffic flows.

Definition at line 175 of file StatefulRule.h.

◆ SetRuleOptions() [1/2]

void Aws::NetworkFirewall::Model::StatefulRule::SetRuleOptions ( Aws::Vector< RuleOption > &&  value)
inline

Definition at line 208 of file StatefulRule.h.

◆ SetRuleOptions() [2/2]

void Aws::NetworkFirewall::Model::StatefulRule::SetRuleOptions ( const Aws::Vector< RuleOption > &  value)
inline

Definition at line 203 of file StatefulRule.h.

◆ WithAction() [1/2]

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::WithAction ( const StatefulAction value)
inline

Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

The actions for a stateful rule are defined as follows:

  • PASS - Permits the packets to go to the intended destination.

  • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

  • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

    You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

Definition at line 132 of file StatefulRule.h.

◆ WithAction() [2/2]

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::WithAction ( StatefulAction &&  value)
inline

Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

The actions for a stateful rule are defined as follows:

  • PASS - Permits the packets to go to the intended destination.

  • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

  • ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

    You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

Definition at line 150 of file StatefulRule.h.

◆ WithHeader() [1/2]

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::WithHeader ( const Header value)
inline

The stateful 5-tuple inspection criteria for this rule, used to inspect traffic flows.

Definition at line 181 of file StatefulRule.h.

◆ WithHeader() [2/2]

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::WithHeader ( Header &&  value)
inline

The stateful 5-tuple inspection criteria for this rule, used to inspect traffic flows.

Definition at line 187 of file StatefulRule.h.

◆ WithRuleOptions() [1/2]

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::WithRuleOptions ( Aws::Vector< RuleOption > &&  value)
inline

Definition at line 218 of file StatefulRule.h.

◆ WithRuleOptions() [2/2]

StatefulRule& Aws::NetworkFirewall::Model::StatefulRule::WithRuleOptions ( const Aws::Vector< RuleOption > &  value)
inline

Definition at line 213 of file StatefulRule.h.


The documentation for this class was generated from the following file: