Actions, resources, and condition keys for Amazon App Mesh
Amazon App Mesh (service prefix: appmesh) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon App Mesh
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
CreateGatewayRoute |
Write |
|||
Tagging, Write |
||||
|
CreateMesh |
Write |
|||
Tagging, Write |
||||
|
CreateRoute |
Write |
|||
Tagging, Write |
||||
|
CreateVirtualGateway |
Write |
|||
Tagging, Write |
||||
|
CreateVirtualNode |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
appmesh.amazonaws.com |
Write |
||
|
CreateVirtualRouter |
Write |
|||
Tagging, Write |
||||
|
CreateVirtualService |
Write |
|||
Tagging, Write |
||||
|
DeleteGatewayRoute |
Write |
|||
|
DeleteMesh |
Write |
|||
|
DeleteRoute |
Write |
|||
|
DeleteVirtualGateway |
Write |
|||
|
DeleteVirtualNode |
Write |
|||
|
DeleteVirtualRouter |
Write |
|||
|
DeleteVirtualService |
Write |
|||
|
DescribeGatewayRoute |
Read |
|||
|
DescribeMesh |
Read |
|||
|
DescribeRoute |
Read |
|||
|
DescribeVirtualGateway |
Read |
|||
|
DescribeVirtualNode |
Read |
|||
|
DescribeVirtualRouter |
Read |
|||
|
DescribeVirtualService |
Read |
|||
|
ListGatewayRoutes |
List |
|||
|
ListMeshes |
List |
|||
|
ListRoutes |
List |
|||
|
ListTagsForResource |
List |
|||
|
ListVirtualGateways |
List |
|||
|
ListVirtualNodes |
List |
|||
|
ListVirtualRouters |
List |
|||
|
ListVirtualServices |
List |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateGatewayRoute |
Write |
|||
|
UpdateMesh |
Write |
|||
|
UpdateRoute |
Write |
|||
|
UpdateVirtualGateway |
Write |
|||
|
UpdateVirtualNode |
Write |
|||
|
UpdateVirtualRouter |
Write |
|||
|
UpdateVirtualService |
Write |
Actions defined by Amazon App Mesh
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in Amazon. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create a gateway route that is associated with a virtual gateway |
Write |
|||
Grants permission to create a service mesh |
Write |
|||
Grants permission to create a route that is associated with a virtual router |
Write |
|||
Grants permission to create a virtual gateway within a service mesh |
Write |
|||
Grants permission to create a virtual node within a service mesh |
Write |
|||
Grants permission to create a virtual router within a service mesh |
Write |
|||
Grants permission to create a virtual service within a service mesh |
Write |
|||
Grants permission to delete an existing gateway route |
Write |
|||
Grants permission to delete an existing service mesh |
Write |
|||
Grants permission to delete an existing route |
Write |
|||
Grants permission to delete an existing virtual gateway |
Write |
|||
Grants permission to delete an existing virtual node |
Write |
|||
Grants permission to delete an existing virtual router |
Write |
|||
Grants permission to delete an existing virtual service |
Write |
|||
Grants permission to describe an existing gateway route |
Read |
|||
Grants permission to describe an existing service mesh |
Read |
|||
Grants permission to describe an existing route |
Read |
|||
Grants permission to describe an existing virtual gateway |
Read |
|||
Grants permission to describe an existing virtual node |
Read |
|||
Grants permission to describe an existing virtual router |
Read |
|||
Grants permission to describe an existing virtual service |
Read |
|||
Grants permission to list existing gateway routes in a service mesh |
List |
|||
Grants permission to list existing service meshes |
List |
|||
Grants permission to list existing routes in a service mesh |
List |
|||
Grants permission to list the tags for an App Mesh resource |
List |
|||
Grants permission to list existing virtual gateways in a service mesh |
List |
|||
Grants permission to list existing virtual nodes |
List |
|||
Grants permission to list existing virtual routers in a service mesh |
List |
|||
Grants permission to list existing virtual services in a service mesh |
List |
|||
Grants permission to receive streamed resources for an App Mesh endpoint (VirtualNode/VirtualGateway) |
Read |
|||
Grants permission to tag a resource with a specified resourceArn |
Tagging, Write |
|||
Grants permission to delete a tag from a resource |
Tagging, Write |
|||
Grants permission to update an existing gateway route for a specified service mesh and virtual gateway |
Write |
|||
Grants permission to update an existing service mesh |
Write |
|||
Grants permission to update an existing route for a specified service mesh and virtual router |
Write |
|||
Grants permission to update an existing virtual gateway in a specified service mesh |
Write |
|||
Grants permission to update an existing virtual node in a specified service mesh |
Write |
|||
Grants permission to update an existing virtual router in a specified service mesh |
Write |
|||
Grants permission to update an existing virtual service in a specified service mesh |
Write |
|||
Permission-only actions for Amazon App Mesh
The following actions are defined by Amazon App Mesh but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to delete the RAM access control policy for a mesh |
Write |
|||
Grants permission to read the RAM access control policy for a mesh |
Read |
|||
Grants permission to define the RAM access control policy for a mesh |
Write |
Resource types defined by Amazon App Mesh
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:appmesh:${Region}:${Account}:mesh/${MeshName}/virtualGateway/${VirtualGatewayName}/gatewayRoute/${GatewayRouteName} |
||
arn:${Partition}:appmesh:${Region}:${Account}:mesh/${MeshName} |
||
arn:${Partition}:appmesh:${Region}:${Account}:mesh/${MeshName}/virtualRouter/${VirtualRouterName}/route/${RouteName} |
||
arn:${Partition}:appmesh:${Region}:${Account}:mesh/${MeshName}/virtualGateway/${VirtualGatewayName} |
||
arn:${Partition}:appmesh:${Region}:${Account}:mesh/${MeshName}/virtualNode/${VirtualNodeName} |
||
arn:${Partition}:appmesh:${Region}:${Account}:mesh/${MeshName}/virtualRouter/${VirtualRouterName} |
||
arn:${Partition}:appmesh:${Region}:${Account}:mesh/${MeshName}/virtualService/${VirtualServiceName} |
Condition keys for Amazon App Mesh
Amazon App Mesh defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters actions by the presence of tag key-value pairs in the request |
String |
|
Filters actions by the tag key-value pairs attached to the resource |
String |
|
Filters actions by the presence of tag keys in the request |
ArrayOfString |