View a markdown version of this page

Actions, resources, and condition keys for Amazon Managed Grafana - Service Authorization Reference

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:

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

grafana:AssociateLicense

Write

CreateWorkspace

grafana:CreateWorkspace

Write

grafana:TagResource

Tagging, Write

iam:PassRole

iam:PassedToService

grafana.amazonaws.com

Write

CreateWorkspaceApiKey

grafana:CreateWorkspaceApiKey

Write

CreateWorkspaceServiceAccount

grafana:CreateWorkspaceServiceAccount

Write

CreateWorkspaceServiceAccountToken

grafana:CreateWorkspaceServiceAccountToken

Write

DeleteWorkspace

grafana:DeleteWorkspace

Write

DeleteWorkspaceApiKey

grafana:DeleteWorkspaceApiKey

Write

DeleteWorkspaceServiceAccount

grafana:DeleteWorkspaceServiceAccount

Write

DeleteWorkspaceServiceAccountToken

grafana:DeleteWorkspaceServiceAccountToken

Write

DescribeWorkspace

grafana:DescribeWorkspace

Read

DescribeWorkspaceAuthentication

grafana:DescribeWorkspaceAuthentication

Read

DescribeWorkspaceConfiguration

grafana:DescribeWorkspaceConfiguration

Read

DisassociateLicense

grafana:DisassociateLicense

Write

ListPermissions

grafana:ListPermissions

List

ListTagsForResource

grafana:ListTagsForResource

Read

ListVersions

grafana:DescribeWorkspace

Read

grafana:ListVersions

List

ListWorkspaceServiceAccountTokens

grafana:ListWorkspaceServiceAccountTokens

Read

ListWorkspaceServiceAccounts

grafana:ListWorkspaceServiceAccounts

Read

ListWorkspaces

grafana:ListWorkspaces

Read

TagResource

grafana:TagResource

Tagging, Write

UntagResource

grafana:UntagResource

Tagging, Write

UpdatePermissions

grafana:UpdatePermissions

Permissions management, Write

UpdateWorkspace

grafana:UpdateWorkspace

Write

iam:PassRole

iam:PassedToService

grafana.amazonaws.com

Write

UpdateWorkspaceAuthentication

grafana:UpdateWorkspaceAuthentication

Write

UpdateWorkspaceConfiguration

grafana: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

AssociateLicense

Grants permission to upgrade a workspace with a license

workspace*

aws:ResourceTag/${TagKey}

Write

CreateWorkspace

Grants permission to create a workspace

aws:RequestTag/${TagKey}

aws:TagKeys

Write

CreateWorkspaceApiKey

Grants permission to create API keys for a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

CreateWorkspaceServiceAccount

Grants permission to create service accounts for a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

CreateWorkspaceServiceAccountToken

Grants permission to create service account tokens for a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

DeleteWorkspace

Grants permission to delete a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

DeleteWorkspaceApiKey

Grants permission to delete API keys from a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

DeleteWorkspaceServiceAccount

Grants permission to delete service accounts for a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

DeleteWorkspaceServiceAccountToken

Grants permission to delete service account tokens for a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

DescribeWorkspace

Grants permission to describe a workspace

workspace*

aws:ResourceTag/${TagKey}

Read

DescribeWorkspaceAuthentication

Grants permission to describe authentication providers on a workspace

workspace*

aws:ResourceTag/${TagKey}

Read

DescribeWorkspaceConfiguration

Grants permission to describe the current configuration string for the given workspace

workspace*

aws:ResourceTag/${TagKey}

Read

DisassociateLicense

Grants permission to remove a license from a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

ListPermissions

Grants permission to list the permissions on a wokspace

workspace*

aws:ResourceTag/${TagKey}

List

ListTagsForResource

Grants permission to list tags associated with a workspace

workspace

aws:ResourceTag/${TagKey}

Read

ListVersions

Grants permission to list all available supported Grafana versions. Optionally, include a workspace to list the versions to which it can be upgraded

workspace

aws:ResourceTag/${TagKey}

List

ListWorkspaceServiceAccountTokens

Grants permission to list service account tokens for a workspace

workspace*

aws:ResourceTag/${TagKey}

Read

ListWorkspaceServiceAccounts

Grants permission to list service accounts for a workspace

workspace*

aws:ResourceTag/${TagKey}

Read

ListWorkspaces

Grants permission to list workspaces

Read

TagResource

Grants permission to add tags to, or update tag values of, a workspace

workspace*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UntagResource

Grants permission to remove tags from a workspace

workspace*

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UpdatePermissions

Grants permission to modify the permissions on a workspace

workspace*

aws:ResourceTag/${TagKey}

Permissions management, Write

UpdateWorkspace

Grants permission to modify a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

UpdateWorkspaceAuthentication

Grants permission to modify authentication providers on a workspace

workspace*

aws:ResourceTag/${TagKey}

Write

UpdateWorkspaceConfiguration

Grants permission to update the configuration string for the given workspace

workspace*

aws:ResourceTag/${TagKey}

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

workspace

arn:${Partition}:grafana:${Region}:${Account}:/workspaces/${ResourceId}

aws:ResourceTag/${TagKey}

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

aws:RequestTag/${TagKey}

Filters access by actions based on the presence of tag key-value pairs in the request

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

Filters access by actions based on the presence of tag keys in the request

ArrayOfString