network-firewall:DescribeResourcePolicy

Read

network-firewall:DescribeResourcePolicy is a Read access-level action in the network-firewall service. Grants permission to describe a resource policy for a firewall policy or rule group or firewall

Resource types

ARNs that network-firewall:DescribeResourcePolicy can be scoped to in an IAM policy.

arn:${Partition}:network-firewall:${Region}:${Account}:firewall/${Name}
Firewall
arn:${Partition}:network-firewall:${Region}:${Account}:firewall-policy/${Name}
FirewallPolicy
arn:${Partition}:network-firewall:${Region}:${Account}:stateful-rulegroup/${Name}
StatefulRuleGroup
arn:${Partition}:network-firewall:${Region}:${Account}:stateless-rulegroup/${Name}
StatelessRuleGroup

Condition keys

Keys you can use in the Condition block of a policy that grants network-firewall:DescribeResourcePolicy.

aws:ResourceTag/${TagKey} String

Filters access by the tag value associated with the resource

Example IAM policy

A minimal policy that allows network-firewall:DescribeResourcePolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowNetworkfirewallDescribeResourcePolicy",
      "Effect": "Allow",
      "Action": "network-firewall:DescribeResourcePolicy",
      "Resource": "*"
    }
  ]
}

Related actions in network-firewall

View all network-firewall actions →