NAME

Paws::NetworkFirewall::FirewallPolicy

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::NetworkFirewall::FirewallPolicy object:

$service_obj->Method(Att1 => { StatefulRuleGroupReferences => $value, ..., StatelessRuleGroupReferences => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::NetworkFirewall::FirewallPolicy object:

$result = $service_obj->Method(...);
$result->Att1->StatefulRuleGroupReferences

DESCRIPTION

The firewall policy defines the behavior of a firewall using a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls.

This, along with FirewallPolicyResponse, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

ATTRIBUTES

StatefulRuleGroupReferences => ArrayRef[Paws::NetworkFirewall::StatefulRuleGroupReference]

References to the stateless rule groups that are used in the policy. These define the inspection criteria in stateful rules.

StatelessCustomActions => ArrayRef[Paws::NetworkFirewall::CustomAction]

The custom action definitions that are available for use in the firewall policy's StatelessDefaultActions setting. You name each custom action that you define, and then you can use it by name in your default actions specifications.

REQUIRED StatelessDefaultActions => ArrayRef[Str|Undef]

The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

REQUIRED StatelessFragmentDefaultActions => ArrayRef[Str|Undef]

The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

StatelessRuleGroupReferences => ArrayRef[Paws::NetworkFirewall::StatelessRuleGroupReference]

References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::NetworkFirewall

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues