amplifybackend:ImportBackendAuth

Write

amplifybackend:ImportBackendAuth is a Write access-level action in the amplifybackend service. Grants permission to import an existing auth resource of an Amplify Admin backend environment by appId and backendEnvironmentName

Resource types

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

arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/auth/ required
auth
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:ImportBackendAuth. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in amplifybackend

View all amplifybackend actions →