kinesis:ListShards

List

kinesis:ListShards is a List access-level action in the kinesis service. Grants permission to list the shards in a stream and provides information about each shard

Resource types

ARNs that kinesis:ListShards can be scoped to in an IAM policy.

arn:${Partition}:kinesis:${Region}:${Account}:stream/${StreamName}
stream

Condition keys

Keys you can use in the Condition block of a policy that grants kinesis:ListShards.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowKinesisListShards",
      "Effect": "Allow",
      "Action": "kinesis:ListShards",
      "Resource": "*"
    }
  ]
}

Related actions in kinesis

View all kinesis actions →