kinesis:DecreaseStreamRetentionPeriod

Write

kinesis:DecreaseStreamRetentionPeriod is a Write access-level action in the kinesis service. Grants permission to decrease the stream's retention period, which is the length of time data records are accessible after they are added to the stream

Resource types

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in kinesis

View all kinesis actions →