class Aws::NetworkFirewall::Types::CreateFirewallPolicyRequest
@note When making an API call, you may pass CreateFirewallPolicyRequest
data as a hash: { firewall_policy_name: "ResourceName", # required firewall_policy: { # required stateless_rule_group_references: [ { resource_arn: "ResourceArn", # required priority: 1, # required }, ], stateless_default_actions: ["CollectionMember_String"], # required stateless_fragment_default_actions: ["CollectionMember_String"], # required stateless_custom_actions: [ { action_name: "ActionName", # required action_definition: { # required publish_metric_action: { dimensions: [ # required { value: "DimensionValue", # required }, ], }, }, }, ], stateful_rule_group_references: [ { resource_arn: "ResourceArn", # required }, ], }, description: "Description", tags: [ { key: "TagKey", # required value: "TagValue", # required }, ], dry_run: false, }
@!attribute [rw] firewall_policy_name
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it. @return [String]
@!attribute [rw] firewall_policy
The rule groups and policy actions to use in the firewall policy. @return [Types::FirewallPolicy]
@!attribute [rw] description
A description of the firewall policy. @return [String]
@!attribute [rw] tags
The key:value pairs to associate with the resource. @return [Array<Types::Tag>]
@!attribute [rw] dry_run
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. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateFirewallPolicyRequest AWS API Documentation
Constants
- SENSITIVE