networkmanager:GetVpcAttachment

Read

networkmanager:GetVpcAttachment is a Read access-level action in the networkmanager service. Grants permission to retrieve a VPC attachment

Resource types

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

arn:${Partition}:networkmanager::${Account}:attachment/${ResourceId}
attachment

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in networkmanager

View all networkmanager actions →