Actions, resources, and condition keys for AWS Amplify Admin
AWS Amplify Admin (service prefix: amplifybackend) 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 AWS Amplify Admin
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 |
|---|---|---|---|---|
|
CloneBackend |
Write |
|||
|
CreateBackend |
Write |
|||
|
CreateBackendAPI |
Write |
|||
|
CreateBackendAuth |
Write |
|||
|
CreateBackendConfig |
Write |
|||
|
CreateBackendStorage |
Write |
|||
|
CreateToken |
Write |
|||
|
DeleteBackend |
Write |
|||
|
DeleteBackendAPI |
Write |
|||
|
DeleteBackendAuth |
Write |
|||
|
DeleteBackendStorage |
Write |
|||
|
DeleteToken |
Write |
|||
|
GenerateBackendAPIModels |
Write |
|||
|
GetBackend |
Read |
|||
|
GetBackendAPI |
Read |
|||
|
GetBackendAPIModels |
Read |
|||
|
GetBackendAuth |
Read |
|||
|
GetBackendJob |
Read |
|||
|
GetBackendStorage |
Read |
|||
|
GetToken |
Read |
|||
|
ImportBackendAuth |
Write |
|||
|
ImportBackendStorage |
Write |
|||
|
ListBackendJobs |
List |
|||
|
ListS3Buckets |
List |
|||
|
RemoveAllBackends |
Write |
|||
|
RemoveBackendConfig |
Write |
|||
|
UpdateBackendAPI |
Write |
|||
|
UpdateBackendAuth |
Write |
|||
|
UpdateBackendConfig |
Write |
|||
|
UpdateBackendJob |
Write |
|||
|
UpdateBackendStorage |
Write |
Actions defined by AWS Amplify Admin
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 AWS. 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 clone an existing Amplify Admin backend environment into a new Amplify Admin backend enviroment |
Write |
|||
Grants permission to create a new Amplify Admin backend environment by Amplify appId |
Write |
|||
Grants permission to create an API for an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to create an auth resource for an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to create a new Amplify Admin backend config by Amplify appId |
Write |
|||
Grants permission to create a backend storage resource |
Write |
|||
Grants permission to create an Amplify Admin challenge token by appId |
Write |
|||
Grants permission to delete an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to delete an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to delete an auth resource of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to delete a backend storage resource |
Write |
|||
Grants permission to delete an Amplify Admin challenge token by appId |
Write |
|||
Grants permission to generate models for an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to retrieve an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Read |
|||
Grants permission to retrieve an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Read |
|||
Grants permission to retrieve models for an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Read |
|||
Grants permission to retrieve an auth resource of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Read |
|||
Grants permission to retrieve a job of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Read |
|||
Grants permission to retrieve an existing backend storage resource |
Read |
|||
Grants permission to retrieve an Amplify Admin challenge token by appId |
Read |
|||
Grants permission to import an existing auth resource of an Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to import an existing backend storage resource |
Write |
|||
Grants permission to retrieve the jobs of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
List |
|||
Grants permission to retrieve s3 buckets |
List |
|||
Grants permission to delete all existing Amplify Admin backend environments by appId |
Write |
|||
Grants permission to delete an Amplify Admin backend config by Amplify appId |
Write |
|||
Grants permission to update an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to update an auth resource of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to update an Amplify Admin backend config by Amplify appId |
Write |
|||
Grants permission to update a job of an existing Amplify Admin backend environment by appId and backendEnvironmentName |
Write |
|||
Grants permission to update a backend storage resource |
Write |
|||
Resource types defined by AWS Amplify Admin
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}:amplifybackend:${Region}:${Account}:/backend/${AppId}/api/* |
||
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/auth/* |
||
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/* |
||
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/config/* |
||
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/* |
||
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/environments/* |
||
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/job/* |
||
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/storage/* |
||
arn:${Partition}:amplifybackend:${Region}:${Account}:/backend/${AppId}/challenge/* |
Condition keys for AWS Amplify Admin
AWS Amplify Admin has no service-specific condition keys that can be used in the
Condition element of policy statements.