Actions, resources, and condition keys for AWS Amplify
AWS Amplify (service prefix: amplify) 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
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 |
|---|---|---|---|---|
|
CreateApp |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
amplify.amazonaws.com |
Write |
||
|
CreateBackendEnvironment |
Write |
|||
|
CreateBranch |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
amplify.amazonaws.com |
Write |
||
|
CreateDeployment |
Write |
|||
|
CreateDomainAssociation |
Write |
|||
iam:PassedToService |
amplify.amazonaws.com |
Write |
||
|
CreateWebhook |
Write |
|||
|
DeleteApp |
Write |
|||
|
DeleteBackendEnvironment |
Write |
|||
|
DeleteBranch |
Write |
|||
|
DeleteDomainAssociation |
Write |
|||
|
DeleteJob |
Write |
|||
|
DeleteWebhook |
Write |
|||
|
GenerateAccessLogs |
Write |
|||
|
GetApp |
Read |
|||
|
GetArtifactUrl |
Read |
|||
|
GetBackendEnvironment |
Read |
|||
|
GetBranch |
Read |
|||
|
GetDomainAssociation |
Read |
|||
|
GetJob |
Read |
|||
|
GetWebhook |
Read |
|||
|
ListApps |
List |
|||
|
ListArtifacts |
List |
|||
|
ListBackendEnvironments |
List |
|||
|
ListBranches |
List |
|||
|
ListDomainAssociations |
List |
|||
|
ListJobs |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListWebhooks |
List |
|||
|
StartDeployment |
Write |
|||
|
StartJob |
Write |
|||
|
StopJob |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateApp |
Write |
|||
iam:PassedToService |
amplify.amazonaws.com |
Write |
||
|
UpdateBranch |
Write |
|||
iam:PassedToService |
amplify.amazonaws.com |
Write |
||
|
UpdateDomainAssociation |
Write |
|||
iam:PassedToService |
amplify.amazonaws.com |
Write |
||
|
UpdateWebhook |
Write |
Actions defined by AWS Amplify
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 associate a WebACL to a Resource |
Write |
|||
Grants permission to create a new Amplify App |
Write |
|||
Grants permission to create a new backend environment for an Amplify App |
Write |
|||
Grants permission to create a new Branch for an Amplify App |
Write |
|||
Grants permission to create a deployment for manual deploy apps. (Apps are not connected to repository) |
Write |
|||
Grants permission to create a new DomainAssociation on an App |
Write |
|||
Grants permission to create a new webhook on an App |
Write |
|||
Grants permission to delete an existing Amplify App by appId |
Write |
|||
Grants permission to delete a branch for an Amplify App |
Write |
|||
Grants permission to delete a branch for an Amplify App |
Write |
|||
Grants permission to delete a DomainAssociation |
Write |
|||
Grants permission to delete a job, for an Amplify branch, part of Amplify App |
Write |
|||
Grants permission to delete a webhook by id |
Write |
|||
Grants permission to disassociate a WebACL from a Resource |
Write |
|||
Grants permission to generate website access logs for a specific time range via a pre-signed URL |
Write |
|||
Grants permission to retrieve an existing Amplify App by appId |
Read |
|||
Grants permission to retrieve artifact info that corresponds to a artifactId |
Read |
|||
Grants permission to retrieve a backend environment for an Amplify App |
Read |
|||
Grants permission to retrieve a branch for an Amplify App |
Read |
|||
Grants permission to retrieve domain info that corresponds to an appId and domainName |
Read |
|||
Grants permission to get a job for a branch, part of an Amplify App |
Read |
|||
Grants permission to retrieve the WebACL associated with a Resource |
Read |
|||
Grants permission to retrieve webhook info that corresponds to a webhookId |
Read |
|||
Grants permission to list existing Amplify Apps |
List |
|||
Grants permission to list artifacts with an app, a branch, a job and an artifact type |
List |
|||
Grants permission to list backend environments for an Amplify App |
List |
|||
Grants permission to list branches for an Amplify App |
List |
|||
Grants permission to list domains with an app |
List |
|||
Grants permission to list Jobs for a branch, part of an Amplify App |
List |
|||
Grants permission to list the Resources associated with a WebACL |
List |
|||
Grants permission to list tags for an AWS Amplify Console resource |
Read |
|||
Grants permission to list webhooks on an App |
List |
|||
Grants permission to start a deployment for manual deploy apps. (Apps are not connected to repository) |
Write |
|||
Grants permission to start a new job for a branch, part of an Amplify App |
Write |
|||
Grants permission to stop a job that is in progress, for an Amplify branch, part of Amplify App |
Write |
|||
Grants permission to tag an AWS Amplify Console resource |
Tagging, Write |
|||
Grants permission to remove a tag from an AWS Amplify Console resource |
Tagging, Write |
|||
Grants permission to update an existing Amplify App |
Write |
|||
Grants permission to update a branch for an Amplify App |
Write |
|||
Grants permission to update a DomainAssociation on an App |
Write |
|||
Grants permission to update a webhook |
Write |
Resource types defined by AWS Amplify
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}:amplify:${Region}:${Account}:apps/${AppId} |
||
arn:${Partition}:amplify:${Region}:${Account}:apps/${AppId}/branches/${BranchName} |
||
arn:${Partition}:amplify:${Region}:${Account}:apps/${AppId}/domains/${DomainName} |
||
arn:${Partition}:amplify:${Region}:${Account}:apps/${AppId}/branches/${BranchName}/jobs/${JobId} |
||
arn:${Partition}:amplify:${Region}:${Account}:webhooks/${WebhookId} |
Condition keys for AWS Amplify
AWS Amplify defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by a tag's key and value in a request |
String |
|
Filters access by a tag's key associated with the resource |
String |
|
Filters access by the tag keys in a request |
ArrayOfString |