Actions, resources, and condition keys for Amazon Aurora DSQL
Amazon Aurora DSQL (service prefix: dsql) 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 Aurora DSQL
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 |
|---|---|---|---|---|
|
CreateCluster |
Write |
|||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Tagging, Write |
||||
|
CreateStream |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
dsql.amazonaws.com |
Write |
||
|
DeleteCluster |
Write |
|||
|
DeleteClusterPolicy |
Write |
|||
|
DeleteStream |
Write |
|||
|
GetCluster |
Read |
|||
|
GetClusterPolicy |
Read |
|||
|
GetStream |
Read |
|||
|
GetVpcEndpointServiceName |
Read |
|||
|
ListClusters |
List |
|||
|
ListStreams |
List |
|||
|
ListTagsForResource |
Read |
|||
|
PutClusterPolicy |
Write |
|||
Write |
||||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateCluster |
Write |
|||
Read |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
Actions defined by Amazon Aurora DSQL
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 create new clusters |
Write |
|||
Grants permission to create a Change Stream for a cluster |
Write |
|||
Grants permission to connect to the database |
Write |
|||
Grants permission to connect to the database with admin role. Connecting with any other role requires DbConnect permission |
Write |
|||
Grants permission to delete a cluster and all of its data |
Write |
|||
Grants permission to remove the inline resource-based policy attached to a cluster |
Write |
|||
Grants permission to delete a Change Stream |
Write |
|||
Grants permission to get the status of an Aurora DSQL cluster backup job |
Read |
|||
Grants permission to get information about a cluster |
Read |
|||
Grants permission to retrieve the inline resource-based policy attached to a cluster |
Read |
|||
Grants permission to get the status of an Aurora DSQL cluster restore job |
Read |
|||
Grants permission to get information about a Change Stream |
Read |
|||
Grants permission to retrieve the VPC endpoint service name for a cluster |
Read |
|||
Grants permission to retrieve a list of clusters |
List |
|||
Grants permission to retrieve a list of Change Streams for a cluster |
List |
|||
Grants permission to list all tags on an Aurora DSQL resource |
Read |
|||
Grants permission to attach or update the inline resource-based policy attached to a cluster |
Write |
|||
Grants permission to start a backup job for an Aurora DSQL cluster |
Write |
|||
Grants permission to start a restore job for an Aurora DSQL cluster |
Write |
|||
Grants permission to stop a backup job for an Aurora DSQL cluster |
Write |
|||
Grants permission to stop a restore job for an Aurora DSQL Cluster |
Write |
|||
Grants permission to add tags to Aurora DSQL resources |
Tagging, Write |
|||
Grants permission to remove tags from Aurora DSQL resources |
Tagging, Write |
|||
Grants permission to modify cluster attributes |
Write |
|||
Grants permission to modify Change Stream attributes |
Write |
Permission-only actions for Amazon Aurora DSQL
The following actions are defined by Amazon Aurora DSQL 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 add a peer cluster to a multi-Region cluster |
Write |
|||
Grants permission to inject errors in targeted clusters |
Write |
|||
Grants permission to update multi-Region properties of a cluster |
Write |
|||
Grants permission to configure and update the witness Region of a multi-Region cluster |
Write |
|||
Grants permission to remove a peer cluster from a multi-Region cluster |
Write |
Resource types defined by Amazon Aurora DSQL
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}:dsql:${Region}:${Account}:cluster/${Identifier} |
||
arn:${Partition}:dsql:${Region}:${Account}:cluster/${ClusterId}/stream/${StreamId} |
Condition keys for Amazon Aurora DSQL
Amazon Aurora DSQL 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 the tags associated with the resource |
String |
|
Filters access by a list of tag keys that are allowed in the request |
ArrayOfString |
|
Filters access by the ID of an AWS FIS action |
String |
|
Filters access by the ARN of an AWS FIS target |
ArrayOfARN |
|
Filters access by the witness region of multi-Region clusters |
String |