amplifybackend:RemoveAllBackends

Write

amplifybackend:RemoveAllBackends is a Write access-level action in the amplifybackend service. Grants permission to delete all existing Amplify Admin backend environments by appId

Resource types

ARNs that amplifybackend:RemoveAllBackends can be scoped to in an IAM policy.

arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/ required
backend
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/environments/ required
environment

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAmplifybackendRemoveAllBackends",
      "Effect": "Allow",
      "Action": "amplifybackend:RemoveAllBackends",
      "Resource": "*"
    }
  ]
}

Related actions in amplifybackend

View all amplifybackend actions →