Actions, resources, and condition keys for Amazon Elastic Block Store
Amazon Elastic Block Store (service prefix: ebs) 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 Elastic Block Store
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 |
|---|---|---|---|---|
|
CompleteSnapshot |
Write |
|||
|
GetSnapshotBlock |
Read |
|||
|
ListChangedBlocks |
Read |
|||
|
ListSnapshotBlocks |
Read |
|||
|
PutSnapshotBlock |
Write |
|||
|
StartSnapshot |
Write |
|||
Tagging, Write |
Actions defined by Amazon Elastic Block Store
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 Amazon. 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 seal and complete the snapshot after all of the required blocks of data have been written to it |
Write |
|||
Grants permission to return the data of a block in an Amazon Elastic Block Store (EBS) snapshot |
Read |
|||
Grants permission to list the blocks that are different between two Amazon Elastic Block Store (EBS) snapshots of the same volume/snapshot lineage |
Read |
|||
Grants permission to list the blocks in an Amazon Elastic Block Store (EBS) snapshot |
Read |
|||
Grants permission to write a block of data to a snapshot created by the StartSnapshot operation |
Write |
|||
Grants permission to create a new EBS snapshot |
Write |
Resource types defined by Amazon Elastic Block Store
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}:ec2:${Region}::snapshot/${SnapshotId} |
Condition keys for Amazon Elastic Block Store
Amazon Elastic Block Store 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 description of the snapshot being created |
String |
|
Filters access by the ARN of the parent snapshot |
ARN |
|
Filters access by the size of the volume for the snapshot being created, in GiB |
Numeric |