ram:DeletePermissionVersion

Write

ram:DeletePermissionVersion is a Write access-level action in the ram service. Grants permission to delete a specified version of a permission

Resource types

ARNs that ram:DeletePermissionVersion can be scoped to in an IAM policy.

arn:${Partition}:ram:${Region}:${Account}:permission/${ResourcePath}
customer-managed-permission

Condition keys

Keys you can use in the Condition block of a policy that grants ram:DeletePermissionVersion.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

ram:PermissionArn ARN

Filters access by the specified Permission ARN

ram:PermissionResourceType String

Filters access by permissions of specified resource type

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRamDeletePermissionVersion",
      "Effect": "Allow",
      "Action": "ram:DeletePermissionVersion",
      "Resource": "*"
    }
  ]
}

Related actions in ram

View all ram actions →