Actions, resources, and condition keys for Amazon DocumentDB Elastic Clusters
Amazon DocumentDB Elastic Clusters (service prefix: docdb-elastic) 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 DocumentDB Elastic Clusters
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 |
|---|---|---|---|---|
|
ApplyPendingMaintenanceAction |
Write |
|||
|
CopyClusterSnapshot |
Write |
|||
Write |
||||
Tagging, Write |
||||
|
CreateCluster |
Write |
|||
Tagging, Write |
||||
|
CreateClusterSnapshot |
Write |
|||
Tagging, Write |
||||
|
DeleteCluster |
Write |
|||
|
DeleteClusterSnapshot |
Write |
|||
|
GetCluster |
Read |
|||
|
GetClusterSnapshot |
Read |
|||
|
GetPendingMaintenanceAction |
Read |
|||
|
ListClusterSnapshots |
List |
|||
|
ListClusters |
List |
|||
|
ListPendingMaintenanceActions |
List |
|||
|
ListTagsForResource |
List |
|||
|
RestoreClusterFromSnapshot |
Write |
|||
Write |
||||
Tagging, Write |
||||
|
StartCluster |
Write |
|||
|
StopCluster |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateCluster |
Write |
Actions defined by Amazon DocumentDB Elastic Clusters
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 apply pending maintenance actions on Amazon DocDB-Elastic cluster |
Write |
|||
Grants permission to copy a new Amazon DocDB-Elastic cluster snapshot |
Write |
|||
Grants permission to create a new Amazon DocDB-Elastic cluster |
Write |
|||
Grants permission to create a new Amazon DocDB-Elastic cluster snapshot |
Write |
|||
Grants permission to delete a cluster |
Write |
|||
Grants permission to delete a cluster snapshot |
Write |
|||
Grants permission to view details about a cluster |
Read |
|||
Grants permission to view details about a cluster snapshot |
Read |
|||
Grants permission to view details about pending maintenance actions on Amazon DocDB-Elastic cluster |
Read |
|||
Grants permission to list the cluster snapshots in your account |
List |
|||
Grants permission to list the clusters in your account |
List |
|||
Grants permission to list details about pending maintenance actions on any Amazon DocDB-Elastic cluster |
List |
|||
Grants permission to lists tag for an DocumentDB Elastic resource |
List |
|||
Grants permission to restore cluster from a Amazon DocDB-Elastic cluster snapshot |
Write |
|||
Grants permission to start a stopped Amazon DocDB-Elastic cluster |
Write |
|||
Grants permission to stop an existing Amazon DocDB-Elastic cluster |
Write |
|||
Grants permission to tag an DocumentDB Elastic resource |
Tagging, Write |
|||
Grants permission to untag a DocumentDB Elastic resource |
Tagging, Write |
|||
Grants permission to modify a cluster |
Write |
Resource types defined by Amazon DocumentDB Elastic Clusters
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}:docdb-elastic:${Region}:${Account}:cluster/${ResourceId} |
||
arn:${Partition}:docdb-elastic:${Region}:${Account}:cluster-snapshot/${ResourceId} |
Condition keys for Amazon DocumentDB Elastic Clusters
Amazon DocumentDB Elastic Clusters 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 set of tag key-value pairs in the request |
String |
|
Filters access by the set of tag key-value pairs attached to the resource |
String |
|
Filters access by the set of tag keys in the request |
ArrayOfString |