networkmanager:AssociateCustomerGateway

Write

networkmanager:AssociateCustomerGateway is a Write access-level action in the networkmanager service. Grants permission to associate a customer gateway to a device

Resource types

ARNs that networkmanager:AssociateCustomerGateway can be scoped to in an IAM policy.

arn:${Partition}:networkmanager::${Account}:device/${GlobalNetworkId}/${ResourceId}
device
arn:${Partition}:networkmanager::${Account}:global-network/${ResourceId}
global-network
arn:${Partition}:networkmanager::${Account}:link/${GlobalNetworkId}/${ResourceId}
link

Condition keys

Keys you can use in the Condition block of a policy that grants networkmanager:AssociateCustomerGateway.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows networkmanager:AssociateCustomerGateway. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowNetworkmanagerAssociateCustomerGateway",
      "Effect": "Allow",
      "Action": "networkmanager:AssociateCustomerGateway",
      "Resource": "*"
    }
  ]
}

Related actions in networkmanager

View all networkmanager actions →