kinesis:PutResourcePolicy

Write

kinesis:PutResourcePolicy is a Write access-level action in the kinesis service. Grants permission to attach a resource policy to a specified stream or consumer

Resource types

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

arn:${Partition}:kinesis:${Region}:${Account}:${StreamType}/${StreamName}/consumer/${ConsumerName}:${ConsumerCreationTimpstamp}
consumer
arn:${Partition}:kinesis:${Region}:${Account}:stream/${StreamName}
stream

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in kinesis

View all kinesis actions →