Actions, resources, and condition keys for Amazon Timestream
Amazon Timestream (service prefix: timestream) 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 Timestream
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 | SDK client | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|---|
|
CancelQuery |
timestream-query |
Write |
|||
|
CreateScheduledQuery |
timestream-query |
Write |
|||
Tagging, Write |
|||||
Write |
|||||
|
DeleteScheduledQuery |
timestream-query |
Write |
|||
|
DescribeAccountSettings |
timestream-query |
Read |
|||
|
DescribeEndpoints |
timestream-query |
List |
|||
|
DescribeScheduledQuery |
timestream-query |
Read |
|||
|
ExecuteScheduledQuery |
timestream-query |
Write |
|||
|
ListScheduledQueries |
timestream-query |
List |
|||
|
ListTagsForResource |
timestream-query |
Read |
|||
|
PrepareQuery |
timestream-query |
Read |
|||
|
Query |
timestream-query |
Read |
|||
List |
|||||
List |
|||||
List |
|||||
Read |
|||||
Read |
|||||
Write |
|||||
|
TagResource |
timestream-query |
Tagging, Write |
|||
|
UntagResource |
timestream-query |
Tagging, Write |
|||
|
UpdateAccountSettings |
timestream-query |
Write |
|||
Write |
|||||
|
UpdateScheduledQuery |
timestream-query |
Write |
|||
|
CreateBatchLoadTask |
timestream-write |
Write |
|||
Write |
|||||
|
CreateDatabase |
timestream-write |
Write |
|||
Tagging, Write |
|||||
|
CreateTable |
timestream-write |
Write |
|||
Tagging, Write |
|||||
|
DeleteDatabase |
timestream-write |
Write |
|||
|
DeleteTable |
timestream-write |
Write |
|||
|
DescribeBatchLoadTask |
timestream-write |
Read |
|||
|
DescribeDatabase |
timestream-write |
Read |
|||
|
DescribeEndpoints |
timestream-write |
List |
|||
|
DescribeTable |
timestream-write |
Read |
|||
|
ListBatchLoadTasks |
timestream-write |
List |
|||
|
ListDatabases |
timestream-write |
List |
|||
|
ListTables |
timestream-write |
List |
|||
|
ListTagsForResource |
timestream-write |
Read |
|||
|
TagResource |
timestream-write |
Tagging, Write |
|||
|
UntagResource |
timestream-write |
Tagging, Write |
|||
|
UpdateDatabase |
timestream-write |
Write |
|||
|
UpdateTable |
timestream-write |
Write |
|||
|
WriteRecords |
timestream-write |
Write |
Actions defined by Amazon Timestream
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 queries in your account |
Write |
|||
Grants permission to create a batch load task in your account |
Write |
|||
Grants permission to create a database in your account |
Write |
|||
Grants permission to create a scheduled query in your account |
Write |
|||
Grants permission to create a table in your account |
Write |
|||
Grants permission to delete a database in your account |
Write |
|||
Grants permission to delete a scheduled query in your account |
Write |
|||
Grants permission to delete a table in your account |
Write |
|||
Grants permission to describe your account settings |
Read |
|||
Grants permission to describe a batch load task in your account |
Read |
|||
Grants permission to describe a database in your account |
Read |
|||
Grants permission to describe timestream endpoints |
List |
|||
Grants permission to describe a scheduled query in your account |
Read |
|||
Grants permission to describe a table in your account |
Read |
|||
Grants permission to execute a scheduled query in your account |
Write |
|||
Grants permission to get Status of a Timestream Table Backup |
Read |
|||
Grants permission to get Status of a Timestream Table Restore |
Read |
|||
Grants permission to list batch load tasks in your account |
List |
|||
Grants permission to list databases in your account |
List |
|||
Grants permission to list measures of a table in your account |
List |
|||
Grants permission to list scheduled queries in your account |
List |
|||
Grants permission to list tables in your account |
List |
|||
Grants permission to list tags of a resource in your account |
Read |
|||
Grants permission to issue prepare queries |
Read |
|||
Grants permission to resume a batch load task in your account |
Write |
|||
Grants permission to issue 'select from table' queries |
Read |
|||
Grants permission to issue 'select 1' queries |
Read |
|||
Grants permission to start a Backup Job for a Timestream Table |
Write |
|||
Grants permission to start Restore Job for a Backup of Timestream Table |
Write |
|||
Grants permission to add tags to a resource |
Tagging, Write |
|||
Grants permission to issue Unload queries |
Write |
|||
Grants permission to remove a tag from a resource |
Tagging, Write |
|||
Grants permission to update your account settings |
Write |
|||
Grants permission to update a database in your account |
Write |
|||
Grants permission to update a scheduled query in your account |
Write |
|||
Grants permission to update a table in your account |
Write |
|||
Grants permission to ingest data to a table in your account |
Write |
Resource types defined by Amazon Timestream
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}:timestream:${Region}:${Account}:database/${DatabaseName} |
||
arn:${Partition}:timestream:${Region}:${Account}:scheduled-query/${ScheduledQueryName} |
||
arn:${Partition}:timestream:${Region}:${Account}:database/${DatabaseName}/table/${TableName} |
Condition keys for Amazon Timestream
Amazon Timestream defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the presence of tag key-value pairs in the request |
String |
|
Filters access by tag key-value pairs attached to the resource |
String |
|
Filters access by the presence of tag keys in the request |
ArrayOfString |