appmesh:DeleteVirtualGateway

Write

appmesh:DeleteVirtualGateway is a Write access-level action in the appmesh service. Grants permission to delete an existing virtual gateway

Resource types

ARNs that appmesh:DeleteVirtualGateway can be scoped to in an IAM policy.

arn:${Partition}:appmesh:${Region}:${Account}:mesh/${MeshName}/virtualGateway/${VirtualGatewayName}
virtualGateway

Condition keys

Keys you can use in the Condition block of a policy that grants appmesh:DeleteVirtualGateway.

aws:ResourceTag/${TagKey} String

Filters actions by the tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in appmesh

View all appmesh actions →