sqs:SetQueueAttributes

Write

sqs:SetQueueAttributes is a Write access-level action in the sqs service. Grants permission to set the value of one or more queue attributes

Resource types

ARNs that sqs:SetQueueAttributes can be scoped to in an IAM policy.

arn:${Partition}:sqs:${Region}:${Account}:${QueueName}
queue

Condition keys

Keys you can use in the Condition block of a policy that grants sqs:SetQueueAttributes.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSqsSetQueueAttributes",
      "Effect": "Allow",
      "Action": "sqs:SetQueueAttributes",
      "Resource": "*"
    }
  ]
}

Related actions in sqs

View all sqs actions →