Skip to content

/AWS1/CL_NWF=>CREATEFIREWALLPOLICY()

About CreateFirewallPolicy

Creates the firewall policy for the firewall according to the specifications.

An Network Firewall firewall policy defines the behavior of a firewall, in a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls.

Method Signature

IMPORTING

Required arguments:

IV_FIREWALLPOLICYNAME TYPE /AWS1/NWFRESOURCENAME /AWS1/NWFRESOURCENAME

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

IO_FIREWALLPOLICY TYPE REF TO /AWS1/CL_NWFFIREWALLPOLICY /AWS1/CL_NWFFIREWALLPOLICY

The rule groups and policy actions to use in the firewall policy.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/NWFDESCRIPTION /AWS1/NWFDESCRIPTION

A description of the firewall policy.

IT_TAGS TYPE /AWS1/CL_NWFTAG=>TT_TAGLIST TT_TAGLIST

The key:value pairs to associate with the resource.

IV_DRYRUN TYPE /AWS1/NWFBOOLEAN /AWS1/NWFBOOLEAN

Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

If set to FALSE, Network Firewall makes the requested changes to your resources.

IO_ENCRYPTIONCONFIGURATION TYPE REF TO /AWS1/CL_NWFENCRYPTIONCONF /AWS1/CL_NWFENCRYPTIONCONF

A complex type that contains settings for encryption of your firewall policy resources.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_NWFCREFIREWALLPLYRSP /AWS1/CL_NWFCREFIREWALLPLYRSP