---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_networkfirewall_firewall_policy Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Resource type definition for AWS::NetworkFirewall::FirewallPolicy
---
# awscc_networkfirewall_firewall_policy (Resource)
Resource type definition for AWS::NetworkFirewall::FirewallPolicy
## Schema
### Required
- `firewall_policy` (Attributes) (see [below for nested schema](#nestedatt--firewall_policy))
- `firewall_policy_name` (String)
### Optional
- `description` (String)
- `tags` (Attributes Set) (see [below for nested schema](#nestedatt--tags))
### Read-Only
- `firewall_policy_arn` (String) A resource ARN.
- `firewall_policy_id` (String)
- `id` (String) Uniquely identifies the resource.
### Nested Schema for `firewall_policy`
Required:
- `stateful_default_actions` (List of String)
- `stateful_engine_options` (Attributes) (see [below for nested schema](#nestedatt--firewall_policy--stateful_engine_options))
- `stateful_rule_group_references` (Attributes List) (see [below for nested schema](#nestedatt--firewall_policy--stateful_rule_group_references))
- `stateless_custom_actions` (Attributes List) (see [below for nested schema](#nestedatt--firewall_policy--stateless_custom_actions))
- `stateless_default_actions` (List of String)
- `stateless_fragment_default_actions` (List of String)
- `stateless_rule_group_references` (Attributes List) (see [below for nested schema](#nestedatt--firewall_policy--stateless_rule_group_references))
### Nested Schema for `firewall_policy.stateful_engine_options`
Required:
- `rule_order` (String)
### Nested Schema for `firewall_policy.stateful_rule_group_references`
Required:
- `priority` (Number)
- `resource_arn` (String) A resource ARN.
### Nested Schema for `firewall_policy.stateless_custom_actions`
Required:
- `action_definition` (Attributes) (see [below for nested schema](#nestedatt--firewall_policy--stateless_custom_actions--action_definition))
- `action_name` (String)
### Nested Schema for `firewall_policy.stateless_custom_actions.action_definition`
Required:
- `publish_metric_action` (Attributes) (see [below for nested schema](#nestedatt--firewall_policy--stateless_custom_actions--action_definition--publish_metric_action))
### Nested Schema for `firewall_policy.stateless_custom_actions.action_definition.publish_metric_action`
Required:
- `dimensions` (Attributes List) (see [below for nested schema](#nestedatt--firewall_policy--stateless_custom_actions--action_definition--publish_metric_action--dimensions))
### Nested Schema for `firewall_policy.stateless_custom_actions.action_definition.publish_metric_action.dimensions`
Required:
- `value` (String)
### Nested Schema for `firewall_policy.stateless_rule_group_references`
Required:
- `priority` (Number)
- `resource_arn` (String) A resource ARN.
### Nested Schema for `tags`
Optional:
- `key` (String)
- `value` (String)
## Import
Import is supported using the following syntax:
```shell
$ terraform import awscc_networkfirewall_firewall_policy.example
```