appmesh-preview:CreateVirtualRouter

Write

appmesh-preview:CreateVirtualRouter is a Write access-level action in the appmesh-preview service. Grants permission to create a virtual router within a service mesh

Resource types

ARNs that appmesh-preview:CreateVirtualRouter can be scoped to in an IAM policy.

arn:${Partition}:appmesh-preview:${Region}:${Account}:mesh/${MeshName}/virtualRouter/${VirtualRouterName}
virtualRouter

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows appmesh-preview:CreateVirtualRouter. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAppmeshpreviewCreateVirtualRouter",
      "Effect": "Allow",
      "Action": "appmesh-preview:CreateVirtualRouter",
      "Resource": "*"
    }
  ]
}

Related actions in appmesh-preview

View all appmesh-preview actions →