Actions, resources, and condition keys for Amazon Managed Grafana
Amazon Managed Grafana (service prefix: grafana) 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 Managed Grafana
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 |
|---|---|---|---|---|
|
AssociateLicense |
Write |
|||
|
CreateWorkspace |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
grafana.amazonaws.com |
Write |
||
|
CreateWorkspaceApiKey |
Write |
|||
|
CreateWorkspaceServiceAccount |
Write |
|||
|
CreateWorkspaceServiceAccountToken |
Write |
|||
|
DeleteWorkspace |
Write |
|||
|
DeleteWorkspaceApiKey |
Write |
|||
|
DeleteWorkspaceServiceAccount |
Write |
|||
|
DeleteWorkspaceServiceAccountToken |
Write |
|||
|
DescribeWorkspace |
Read |
|||
|
DescribeWorkspaceAuthentication |
Read |
|||
|
DescribeWorkspaceConfiguration |
Read |
|||
|
DisassociateLicense |
Write |
|||
|
ListPermissions |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListVersions |
Read |
|||
List |
||||
|
ListWorkspaceServiceAccountTokens |
Read |
|||
|
ListWorkspaceServiceAccounts |
Read |
|||
|
ListWorkspaces |
Read |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdatePermissions |
Permissions management, Write |
|||
|
UpdateWorkspace |
Write |
|||
iam:PassedToService |
grafana.amazonaws.com |
Write |
||
|
UpdateWorkspaceAuthentication |
Write |
|||
|
UpdateWorkspaceConfiguration |
Write |
Actions defined by Amazon Managed Grafana
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 AWS. 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 upgrade a workspace with a license |
Write |
|||
Grants permission to create a workspace |
Write |
|||
Grants permission to create API keys for a workspace |
Write |
|||
Grants permission to create service accounts for a workspace |
Write |
|||
Grants permission to create service account tokens for a workspace |
Write |
|||
Grants permission to delete a workspace |
Write |
|||
Grants permission to delete API keys from a workspace |
Write |
|||
Grants permission to delete service accounts for a workspace |
Write |
|||
Grants permission to delete service account tokens for a workspace |
Write |
|||
Grants permission to describe a workspace |
Read |
|||
Grants permission to describe authentication providers on a workspace |
Read |
|||
Grants permission to describe the current configuration string for the given workspace |
Read |
|||
Grants permission to remove a license from a workspace |
Write |
|||
Grants permission to list the permissions on a wokspace |
List |
|||
Grants permission to list tags associated with a workspace |
Read |
|||
Grants permission to list all available supported Grafana versions. Optionally, include a workspace to list the versions to which it can be upgraded |
List |
|||
Grants permission to list service account tokens for a workspace |
Read |
|||
Grants permission to list service accounts for a workspace |
Read |
|||
Grants permission to list workspaces |
Read |
|||
Grants permission to add tags to, or update tag values of, a workspace |
Tagging, Write |
|||
Grants permission to remove tags from a workspace |
Tagging, Write |
|||
Grants permission to modify the permissions on a workspace |
Permissions management, Write |
|||
Grants permission to modify a workspace |
Write |
|||
Grants permission to modify authentication providers on a workspace |
Write |
|||
Grants permission to update the configuration string for the given workspace |
Write |
Resource types defined by Amazon Managed Grafana
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}:grafana:${Region}:${Account}:/workspaces/${ResourceId} |
Condition keys for Amazon Managed Grafana
Amazon Managed Grafana defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by actions based on the presence of tag key-value pairs in the request |
String |
|
Filters access by actions based on tag key-value pairs attached to the resource |
String |
|
Filters access by actions based on the presence of tag keys in the request |
ArrayOfString |