Actions, resources, and condition keys for Amazon Resource Access Manager (RAM)
Amazon Resource Access Manager (RAM) (service prefix: ram) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon Resource Access Manager (RAM)
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 |
|---|---|---|---|---|
|
AcceptResourceShareInvitation |
Write |
|||
|
AssociateResourceShare |
Write |
|||
|
AssociateResourceSharePermission |
Write |
|||
|
CreatePermission |
Write |
|||
Tagging, Write |
||||
|
CreatePermissionVersion |
Write |
|||
|
CreateResourceShare |
Write |
|||
Tagging, Write |
||||
|
DeletePermission |
Write |
|||
|
DeletePermissionVersion |
Write |
|||
|
DeleteResourceShare |
Write |
|||
|
DisassociateResourceShare |
Write |
|||
|
DisassociateResourceSharePermission |
Write |
|||
|
EnableSharingWithAwsOrganization |
Permissions management, Write |
|||
|
GetPermission |
Read |
|||
|
GetResourcePolicies |
Read |
|||
|
GetResourceShareAssociations |
Read |
|||
|
GetResourceShareInvitations |
Read |
|||
|
GetResourceShares |
Read |
|||
|
ListPendingInvitationResources |
Read |
|||
|
ListPermissionAssociations |
List |
|||
|
ListPermissionVersions |
List |
|||
|
ListPermissions |
List |
|||
|
ListPrincipals |
List |
|||
|
ListReplacePermissionAssociationsWork |
List |
|||
|
ListResourceSharePermissions |
List |
|||
|
ListResourceTypes |
List |
|||
|
ListResources |
List |
|||
|
ListSourceAssociations |
List |
|||
|
PromotePermissionCreatedFromPolicy |
Write |
|||
|
PromoteResourceShareCreatedFromPolicy |
Write |
|||
|
RejectResourceShareInvitation |
Write |
|||
|
ReplacePermissionAssociations |
Write |
|||
|
SetDefaultPermissionVersion |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateResourceShare |
Write |
Actions defined by Amazon Resource Access Manager (RAM)
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 |
|---|---|---|---|---|
Grants permission to accept the specified resource share invitation |
Write |
|||
Grants permission to associate resource(s) and/or principal(s) to a resource share |
Write |
|||
Grants permission to associate a Permission with a Resource Share |
Write |
|||
Grants permission to create a Permission that can be associated to a Resource Share |
Write |
|||
Grants permission to create a new version of a Permission that can be associated to a Resource Share |
Write |
|||
Grants permission to create a resource share with provided resource(s) and/or principal(s) |
Write |
|||
Grants permission to delete a specified Permission |
Write |
|||
Grants permission to delete a specified version of a permission |
Write |
|||
Grants permission to delete resource share |
Write |
|||
Grants permission to disassociate resource(s) and/or principal(s) from a resource share |
Write |
|||
Grants permission to disassociate a Permission from a Resource Share |
Write |
|||
Grants permission to access customer's organization and create a SLR in the customer's account |
Permissions management, Write |
|||
Grants permission to get the contents of an Amazon RAM permission |
Read |
|||
Grants permission to get the policies for the specified resources that you own and have shared |
Read |
|||
Grants permission to get a set of resource share associations from a provided list or with a specified status of the specified type |
Read |
|||
Grants permission to get resource share invitations by the specified invitation arn or those for the resource share |
Read |
|||
Grants permission to get a set of resource shares from a provided list or with a specified status |
Read |
|||
Grants permission to list the resources in a resource share that is shared with you but that the invitation is still pending for |
Read |
|||
Grants permission to list information about the permission and any associations |
List |
|||
Grants permission to list the versions of an Amazon RAM permission |
List |
|||
Grants permission to list the Amazon RAM permissions |
List |
|||
Grants permission to list the principals that you have shared resources with or that have shared resources with you |
List |
|||
Grants permission to retrieve the status of the asynchronous permission replacement |
List |
|||
Grants permission to list the Permissions associated with a Resource Share |
List |
|||
Grants permission to list the shareable resource types supported by Amazon RAM |
List |
|||
Grants permission to list the resources that you added to resource shares or the resources that are shared with you |
List |
|||
Grants permission to list source associations for resource shares |
List |
|||
Grants permission to create a separate, fully manageable customer managed permission |
Write |
|||
Grants permission to promote the specified resource share |
Write |
|||
Grants permission to reject the specified resource share invitation |
Write |
|||
Grants permission to update all resource shares to a new permission |
Write |
|||
Grants permission to specify a version number as the default version for the respective customer managed permission |
Write |
|||
Grants permission to tag the specified resource share or permission |
Tagging, Write |
|||
Grants permission to untag the specified resource share or permission |
Tagging, Write |
|||
Grants permission to update attributes of the resource share |
Write |
Resource types defined by Amazon Resource Access Manager (RAM)
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 |
|---|---|---|
arn:${Partition}:ram:${Region}:${Account}:permission/${ResourcePath} |
||
arn:${Partition}:ram::${Account}:permission/${ResourcePath} |
||
arn:${Partition}:ram:${Region}:${Account}:resource-share/${ResourcePath} |
||
arn:${Partition}:ram:${Region}:${Account}:resource-share-invitation/${ResourcePath} |
Condition keys for Amazon Resource Access Manager (RAM)
Amazon Resource Access Manager (RAM) defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tags that are passed in the request when creating or tagging a resource share. If users don't pass these specific tags, or if they don't specify tags at all, the request fails |
String |
|
Filters access by the tags associated with the resource |
String |
|
Filters access by the tag keys that are passed when creating or tagging a resource share |
ArrayOfString |
|
Filters access by resource shares that allow or deny sharing with external principals. For example, specify true if the action can only be performed on resource shares that allow sharing with external principals. External principals are Amazon accounts that are outside of its Amazon organization |
Bool |
|
Filters access by the specified Permission ARN |
ARN |
|
Filters access by permissions of specified resource type |
String |
|
Filters access by format of the specified principal |
String |
|
Filters access by the specified value for 'allowExternalPrincipals'. External principals are Amazon accounts that are outside of its Amazon Organization |
Bool |
|
Filters access by the specified resource type |
String |
|
Filters access by the specified ARN |
ARN |
|
Filters access by a resource share with the specified name |
String |
|
Filters access by the tags associated with the resource |
String |
|
Filters access by RetainSharingOnAccountLeaveOrganization value within ResourceShareConfiguration that is set on resource share |
Bool |
|
Filters access by resource shares owned by a specific account. For example, you can use this condition key to specify which resource share invitations can be accepted or rejected based on the resource share owner's account ID |
String |