View a markdown version of this page

Actions, resources, and condition keys for Amazon Recycle Bin - Service Authorization Reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Actions, resources, and condition keys for Amazon Recycle Bin

Amazon Recycle Bin (service prefix: rbin) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by Amazon Recycle Bin

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

CreateRule

rbin:CreateRule

Write

rbin:LockRule

Write

rbin:TagResource

Tagging, Write

DeleteRule

rbin:DeleteRule

Write

GetRule

rbin:GetRule

Read

ListRules

rbin:ListRules

Read

ListTagsForResource

rbin:ListTagsForResource

Read

LockRule

rbin:LockRule

Write

TagResource

rbin:TagResource

Tagging, Write

UnlockRule

rbin:UnlockRule

Write

UntagResource

rbin:UntagResource

Tagging, Write

UpdateRule

rbin:UpdateRule

Write

Actions defined by Amazon Recycle Bin

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in Amazon. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

CreateRule

Grants permission to create a Recycle Bin retention rule

rule*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

rbin:Request/ResourceType

Write

DeleteRule

Grants permission to delete a Recycle Bin retention rule

rule*

aws:ResourceTag/${TagKey}

rbin:Attribute/ResourceType

Write

GetRule

Grants permission to get detailed information about a Recycle Bin retention rule

rule*

aws:ResourceTag/${TagKey}

rbin:Attribute/ResourceType

Read

ListRules

Grants permission to list the Recycle Bin retention rules in the Region

rbin:Request/ResourceType

Read

ListTagsForResource

Grants permission to list the tags associated with a resource

rule*

aws:ResourceTag/${TagKey}

rbin:Attribute/ResourceType

Read

LockRule

Grants permission to lock an existing Recycle Bin retention rule

rule*

aws:ResourceTag/${TagKey}

rbin:Attribute/ResourceType

Write

TagResource

Grants permission to add or update tags of a resource

rule*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

rbin:Attribute/ResourceType

Tagging, Write

UnlockRule

Grants permission to unlock an existing Recycle Bin retention rule

rule*

aws:ResourceTag/${TagKey}

rbin:Attribute/ResourceType

Write

UntagResource

Grants permission to remove tags associated with a resource

rule*

aws:ResourceTag/${TagKey}

aws:TagKeys

rbin:Attribute/ResourceType

Tagging, Write

UpdateRule

Grants permission to update an existing Recycle Bin retention rule

rule*

aws:ResourceTag/${TagKey}

rbin:Attribute/ResourceType

Write

Resource types defined by Amazon Recycle Bin

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

rule

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

aws:ResourceTag/${TagKey}

Condition keys for Amazon Recycle Bin

Amazon Recycle Bin defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

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

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

Filters access by the tag keys in a request

ArrayOfString

rbin:Attribute/ResourceType

Filters access by the resource type of the existing rule

String

rbin:Request/ResourceType

Filters access by the resource type in a request

String