View a markdown version of this page

Actions, resources, and condition keys for Amazon Elastic Block Store - Service Authorization Reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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:

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

ebs:CompleteSnapshot

Write

GetSnapshotBlock

ebs:GetSnapshotBlock

Read

ListChangedBlocks

ebs:ListChangedBlocks

Read

ListSnapshotBlocks

ebs:ListSnapshotBlocks

Read

PutSnapshotBlock

ebs:PutSnapshotBlock

Write

StartSnapshot

ebs:StartSnapshot

Write

ec2:CreateTags

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

CompleteSnapshot

Grants permission to seal and complete the snapshot after all of the required blocks of data have been written to it

snapshot*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ebs:Description

ebs:ParentSnapshot

ebs:VolumeSize

Write

GetSnapshotBlock

Grants permission to return the data of a block in an Amazon Elastic Block Store (EBS) snapshot

snapshot*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ebs:Description

ebs:ParentSnapshot

ebs:VolumeSize

Read

ListChangedBlocks

Grants permission to list the blocks that are different between two Amazon Elastic Block Store (EBS) snapshots of the same volume/snapshot lineage

snapshot*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ebs:Description

ebs:ParentSnapshot

ebs:VolumeSize

Read

ListSnapshotBlocks

Grants permission to list the blocks in an Amazon Elastic Block Store (EBS) snapshot

snapshot*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ebs:Description

ebs:ParentSnapshot

ebs:VolumeSize

Read

PutSnapshotBlock

Grants permission to write a block of data to a snapshot created by the StartSnapshot operation

snapshot*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ebs:Description

ebs:ParentSnapshot

ebs:VolumeSize

Write

StartSnapshot

Grants permission to create a new EBS snapshot

snapshot

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ebs:Description

ebs:ParentSnapshot

ebs:VolumeSize

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

snapshot

arn:${Partition}:ec2:${Region}::snapshot/${SnapshotId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ebs:Description

ebs:ParentSnapshot

ebs:VolumeSize

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

aws:RequestTag/${TagKey}

Filters access by a tag key and value pair that is allowed in the request

String

aws:ResourceTag/${TagKey}

Filters access by a tag key and value pair of a resource

String

aws:TagKeys

Filters access by a list of tag keys that are allowed in the request

ArrayOfString

ebs:Description

Filters access by the description of the snapshot being created

String

ebs:ParentSnapshot

Filters access by the ARN of the parent snapshot

ARN

ebs:VolumeSize

Filters access by the size of the volume for the snapshot being created, in GiB

Numeric