ebs:ListSnapshotBlocks

Read

ebs:ListSnapshotBlocks is a Read access-level action in the ebs service. Grants permission to list the blocks in an Amazon Elastic Block Store (EBS) snapshot

Resource types

ARNs that ebs:ListSnapshotBlocks can be scoped to in an IAM policy.

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

Condition keys

Keys you can use in the Condition block of a policy that grants ebs:ListSnapshotBlocks.

aws:RequestTag/${TagKey} String

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

aws:ResourceTag/${TagKey} String

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

aws:TagKeys ArrayOfString

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

ebs:Description String

Filters access by the description of the snapshot being created

ebs:ParentSnapshot ARN

Filters access by the ARN of the parent snapshot

ebs:VolumeSize Numeric

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

Example IAM policy

A minimal policy that allows ebs:ListSnapshotBlocks. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowEbsListSnapshotBlocks",
      "Effect": "Allow",
      "Action": "ebs:ListSnapshotBlocks",
      "Resource": "*"
    }
  ]
}

Related actions in ebs

View all ebs actions →