kinesis:MergeShards

Write

kinesis:MergeShards is a Write access-level action in the kinesis service. Grants permission to merge two adjacent shards in a stream and combines them into a single shard to reduce the stream's capacity to ingest and transport data

Resource types

ARNs that kinesis:MergeShards 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:MergeShards.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in kinesis

View all kinesis actions →