Actions, resources, and condition keys for Amazon Managed Blockchain
Amazon Managed Blockchain (service prefix: managedblockchain
) provides the following service-specific resources, actions, and condition context 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.
Topics
Actions defined by Amazon Managed Blockchain
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.
The Resource types column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The Condition keys column of the Actions table includes keys that you can specify in a policy statement's Condition
element. For more information on the condition keys that are associated with resources for the service, see the Condition keys column of the Resource types table.
Note
Resource condition keys are listed in the Resource types table. You can find a link to the resource type that applies to an action in the Resource types (*required) column of the Actions table. The resource type in the Resource types table includes the Condition keys column, which are the resource condition keys that apply to an action in the Actions table.
For details about the columns in the following table, see Actions table.
Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
---|---|---|---|---|---|
CreateAccessor | Grants permission to create an Amazon Managed Blockchain accessor | Write | |||
CreateMember | Grants permission to create a member of an Amazon Managed Blockchain network | Write |
iam:CreateServiceLinkedRole |
||
CreateNetwork | Grants permission to create an Amazon Managed Blockchain network | Write |
iam:CreateServiceLinkedRole |
||
CreateNode | Grants permission to create a node within a member of an Amazon Managed Blockchain network | Write |
iam:CreateServiceLinkedRole |
||
CreateProposal | Grants permission to create a proposal that other blockchain network members can vote on to add or remove a member in an Amazon Managed Blockchain network | Write | |||
DeleteAccessor | Grants permission to delete an Amazon Managed Blockchain accessor | Write | |||
DeleteMember | Grants permission to delete a member and all associated resources from an Amazon Managed Blockchain network | Write | |||
DeleteNode | Grants permission to delete a node from a member of an Amazon Managed Blockchain network | Write | |||
GET [permission only] | Grants permission to send HTTP GET requests to an Ethereum node | Permissions management | |||
GetAccessor | Grants permission to return detailed information about an Amazon Managed Blockchain accessor | Read | |||
GetMember | Grants permission to return detailed information about a member of an Amazon Managed Blockchain network | Read | |||
GetNetwork | Grants permission to return detailed information about an Amazon Managed Blockchain network | Read | |||
GetNode | Grants permission to return detailed information about a node within a member of an Amazon Managed Blockchain network | Read | |||
GetProposal | Grants permission to return detailed information about a proposal of an Amazon Managed Blockchain network | Read | |||
Invoke [permission only] | Grants permission to create WebSocket connections to an Ethereum node | Permissions management | |||
InvokeRpcBitcoinMainnet | Grants permission to invoke the Bitcoin Mainnet RPCs | Read | |||
InvokeRpcBitcoinTestnet | Grants permission to invoke the Bitcoin Testnet RPCs | Read | |||
InvokeRpcPolygonMainnet | Grants permission to invoke the Polygon Mainnet RPCs | Read | |||
InvokeRpcPolygonMumbaiTestnet | Grants permission to invoke the Polygon Mumbai Testnet RPCs | Read | |||
ListAccessors | Grants permission to list the Amazon Managed Blockchain accessors owned by the current AWS account | List | |||
ListInvitations | Grants permission to list the invitations extended to the active AWS account from any Managed Blockchain network | List | |||
ListMembers | Grants permission to list the members of an Amazon Managed Blockchain network and the properties of their memberships | List | |||
ListNetworks | Grants permission to list the Amazon Managed Blockchain networks in which the current AWS account participates | List | |||
ListNodes | Grants permission to list the nodes within a member of an Amazon Managed Blockchain network | List | |||
ListProposalVotes | Grants permission to list all votes for a proposal, including the value of the vote and the unique identifier of the member that cast the vote for the given Amazon Managed Blockchain network | Read | |||
ListProposals | Grants permission to list proposals for the given Amazon Managed Blockchain network | List | |||
ListTagsForResource | Grants permission to view tags associated with an Amazon Managed Blockchain resource | Read | |||
POST [permission only] | Grants permission to send HTTP POST requests to an Ethereum node | Permissions management | |||
RejectInvitation | Grants permission to reject the invitation to join the blockchain network | Write | |||
TagResource | Grants permission to add tags to an Amazon Managed Blockchain resource | Tagging | |||
UntagResource | Grants permission to remove tags from an Amazon Managed Blockchain resource | Tagging | |||
UpdateMember | Grants permission to update a member of an Amazon Managed Blockchain network | Write |
iam:CreateServiceLinkedRole |
||
UpdateNode | Grants permission to update a node from a member of an Amazon Managed Blockchain network | Write |
iam:CreateServiceLinkedRole |
||
VoteOnProposal | Grants permission to cast a vote for a proposal on behalf of the blockchain network member specified | Write |
Resource types defined by Amazon Managed Blockchain
The following resource types are defined by this service and can be used in the Resource
element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see Resource types table.
Resource types | ARN | Condition keys |
---|---|---|
network |
arn:${Partition}:managedblockchain:${Region}::networks/${NetworkId}
|
|
member |
arn:${Partition}:managedblockchain:${Region}:${Account}:members/${MemberId}
|
|
node |
arn:${Partition}:managedblockchain:${Region}:${Account}:nodes/${NodeId}
|
|
proposal |
arn:${Partition}:managedblockchain:${Region}::proposals/${ProposalId}
|
|
invitation |
arn:${Partition}:managedblockchain:${Region}:${Account}:invitations/${InvitationId}
|
|
accessor |
arn:${Partition}:managedblockchain:${Region}:${Account}:accessors/${AccessorId}
|
Condition keys for Amazon Managed Blockchain
Amazon Managed Blockchain defines the following condition keys that can be used in the Condition
element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see Condition keys table.
To view the global condition keys that are available to all services, see Available global condition keys.
Condition keys | Description | Type |
---|---|---|
aws:RequestTag/${TagKey} | Filters actions based on the tags that are passed in the request | String |
aws:ResourceTag/${TagKey} | Filters actions based on the tags associated with an Amazon Managed Blockchain resource | String |
aws:TagKeys | Filters actions based on the tag keys that are passed in the request | ArrayOfString |