Actions, resources, and condition keys for Amazon QLDB
Amazon QLDB (service prefix: qldb) 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
Actions defined by Amazon QLDB
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 cancel a journal kinesis stream |
Write |
|||
Grants permission to create a ledger |
Write |
|||
Grants permission to delete a ledger |
Write |
|||
Grants permission to describe information about a journal kinesis stream |
Read |
|||
Grants permission to describe information about a journal export job |
Read |
|||
Grants permission to describe a ledger |
Read |
|||
Grants permission to export journal contents to an Amazon S3 bucket |
Write |
|||
Grants permission to retrieve a block from a ledger for a given BlockAddress |
Read |
|||
Grants permission to retrieve a digest from a ledger for a given BlockAddress |
Read |
|||
Grants permission to retrieve a revision for a given document ID and a given BlockAddress |
Read |
|||
Grants permission to list journal kinesis streams for a specified ledger |
List |
|||
Grants permission to list journal export jobs for all ledgers |
List |
|||
Grants permission to list journal export jobs for a specified ledger |
List |
|||
Grants permission to list existing ledgers |
List |
|||
Grants permission to list tags for a resource |
Read |
|||
Grants permission to create an index on a table |
Write |
|||
Grants permission to create a table |
Write |
|||
Grants permission to delete documents from a table |
Write |
|||
Grants permission to drop an index from a table |
Write |
|||
Grants permission to drop a table |
Write |
|||
Grants permission to use the history function on a table |
Read |
|||
Grants permission to insert documents into a table |
Write |
|||
Grants permission to redact historic revisions |
Write |
|||
Grants permission to select documents from a table |
Read |
|||
Grants permission to undrop a table |
Write |
|||
Grants permission to update existing documents in a table |
Write |
|||
Grants permission to send commands to a ledger |
Write |
|||
Grants permission to stream journal contents to a Kinesis Data Stream |
Write |
|||
Grants permission to add one or more tags to a resource |
Tagging, Write |
|||
Grants permission to remove one or more tags from a resource |
Tagging, Write |
|||
Grants permission to update properties on a ledger |
Write |
|||
Grants permission to update the permissions mode on a ledger |
Write |
Permission-only actions for Amazon QLDB
The following actions are defined by Amazon QLDB 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 send commands to a ledger via the console |
Write |
|||
Grants permission to insert sample application data via the console |
Write |
|||
Grants permission to view a ledger's catalog via the console |
Write |
Resource types defined by Amazon QLDB
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}:qldb:${Region}:${Account}:ledger/${LedgerName}/information_schema/user_tables |
||
arn:${Partition}:qldb:${Region}:${Account}:ledger/${LedgerName} |
||
arn:${Partition}:qldb:${Region}:${Account}:stream/${LedgerName}/${StreamId} |
||
arn:${Partition}:qldb:${Region}:${Account}:ledger/${LedgerName}/table/${TableId} |
Condition keys for Amazon QLDB
Amazon QLDB defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by a tag key and value pair that is allowed in the request |
String |
|
Filters access by a tag key and value pair of a resource |
String |
|
Filters access by a list of tag keys that are allowed in the request |
ArrayOfString |
|
Filters access by the value of purge that is specified in a PartiQL DROP statement |
String |