aoss:DeleteCollection

Write

aoss:DeleteCollection is a Write access-level action in the aoss service. Grants permission to delete a serverless collection

Resource types

ARNs that aoss:DeleteCollection can be scoped to in an IAM policy.

arn:${Partition}:aoss:${Region}:${Account}:collection/${CollectionId}
Collection

Condition keys

Keys you can use in the Condition block of a policy that grants aoss:DeleteCollection.

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAossDeleteCollection",
      "Effect": "Allow",
      "Action": "aoss:DeleteCollection",
      "Resource": "*"
    }
  ]
}

Related actions in aoss

View all aoss actions →