networkmanager:CreateVpcAttachment

Write

networkmanager:CreateVpcAttachment is a Write access-level action in the networkmanager service. Grants permission to create a VPC attachment

Resource types

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

arn:${Partition}:networkmanager::${Account}:core-network/${ResourceId} required
core-network

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters access by the tag keys that are passed in the request

networkmanager:subnetArns ArrayOfARN

Filters access by which VPC subnets can be added or removed from a VPC attachment

networkmanager:vpcArn ARN

Filters access by which VPC can be used to a create/update attachment

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in networkmanager

View all networkmanager actions →