Skip to main content

firewall

Gets an individual firewall resource

Overview

Namefirewall
TypeResource
Descriptionfirewall
Idawscc.networkfirewall.firewall

Fields

NameDatatypeDescription
firewall_namestring
firewall_arnstring
firewall_idstring
firewall_policy_arnstring
vpc_idstring
subnet_mappingsarray
delete_protectionboolean
subnet_change_protectionboolean
firewall_policy_change_protectionboolean
descriptionstring
endpoint_idsarray
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
firewall_name,
firewall_arn,
firewall_id,
firewall_policy_arn,
vpc_id,
subnet_mappings,
delete_protection,
subnet_change_protection,
firewall_policy_change_protection,
description,
endpoint_ids,
tags
FROM awscc.networkfirewall.firewall
WHERE data__Identifier = '<FirewallArn>';

Permissions

To operate on the firewall resource, the following permissions are required:

Read

network-firewall:DescribeFirewall,
network-firewall:ListTagsForResources

Update

network-firewall:AssociateSubnets,
network-firewall:DisassociateSubnets,
network-firewall:UpdateFirewallDescription,
network-firewall:UpdateFirewallDeleteProtection,
network-firewall:UpdateSubnetChangeProtection,
network-firewall:UpdateFirewallPolicyChangeProtection,
network-firewall:AssociateFirewallPolicy,
network-firewall:TagResource,
network-firewall:UntagResource,
network-firewall:DescribeFirewall

Delete

ec2:DeleteVpcEndpoints,
ec2:DescribeRouteTables,
logs:DescribeLogGroups,
logs:DescribeResourcePolicies,
logs:GetLogDelivery,
logs:ListLogDeliveries,
network-firewall:DeleteFirewall,
network-firewall:UntagResource,
network-firewall:DescribeFirewall