network-firewall:AssociateFirewallPolicy

Write

network-firewall:AssociateFirewallPolicy is a Write access-level action in the network-firewall service. Grants permission to create an association between a firewall policy and a firewall

Resource types

ARNs that network-firewall:AssociateFirewallPolicy 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

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tag value associated with the resource

Example IAM policy

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

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

Related actions in network-firewall

View all network-firewall actions →