rbin:CreateRule

Write

rbin:CreateRule is a Write access-level action in the rbin service. Grants permission to create a Recycle Bin retention rule

Resource types

ARNs that rbin:CreateRule can be scoped to in an IAM policy.

arn:${Partition}:rbin:${Region}:${Account}:rule/${ResourceName} required
rule

Condition keys

Keys you can use in the Condition block of a policy that grants rbin:CreateRule.

aws:RequestTag/${TagKey} String

Filters access by a tag's key and value in a request

aws:TagKeys ArrayOfString

Filters access by the tag keys in a request

rbin:Request/ResourceType String

Filters access by the resource type in a request

aws:ResourceTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRbinCreateRule",
      "Effect": "Allow",
      "Action": "rbin:CreateRule",
      "Resource": "*"
    }
  ]
}

Related actions in rbin

View all rbin actions →