View a markdown version of this page

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

Actions, resources, and condition keys for Amazon Managed Blockchain Query

Amazon Managed Blockchain Query (service prefix: managedblockchain-query) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by Amazon Managed Blockchain Query

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

BatchGetTokenBalance

managedblockchain-query:BatchGetTokenBalance

Read

GetAssetContract

managedblockchain-query:GetAssetContract

Read

GetTokenBalance

managedblockchain-query:GetTokenBalance

Read

GetTransaction

managedblockchain-query:GetTransaction

Read

ListAssetContracts

managedblockchain-query:ListAssetContracts

List

ListFilteredTransactionEvents

managedblockchain-query:ListFilteredTransactionEvents

List

ListTokenBalances

managedblockchain-query:ListTokenBalances

List

ListTransactionEvents

managedblockchain-query:ListTransactionEvents

List

ListTransactions

managedblockchain-query:ListTransactions

List

Actions defined by Amazon Managed Blockchain Query

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

BatchGetTokenBalance

Grants permission to batch calls for GetTokenBalance API

Read

GetAssetContract

Grants permission to fetch information about a contract on the blockchain

Read

GetTokenBalance

Grants permission to retrieve balance of a token for an address on the blockchain

Read

GetTransaction

Grants permission to retrieve a transaction on the blockchain

Read

ListAssetContracts

Grants permission to fetch multiple contracts on the blockchain

List

ListFilteredTransactionEvents

Grants permission to retrieve events on the blockchain with additional filters

List

ListTokenBalances

Grants permission to retrieve multiple balances on the blockchain

List

ListTransactionEvents

Grants permission to retrieve events in a transaction on the blockchain

List

ListTransactions

Grants permission to retrieve a multiple transactions on a blockchain

List

Resource types defined by Amazon Managed Blockchain Query

Amazon Managed Blockchain Query does not support specifying a resource ARN in the Resource element of an IAM policy statement.

Condition keys for Amazon Managed Blockchain Query

Amazon Managed Blockchain Query has no service-specific condition keys that can be used in the Condition element of policy statements.