View a markdown version of this page

Actions, resources, and condition keys for AWS Amplify Gen 3 - Service Authorization Reference

Actions, resources, and condition keys for AWS Amplify Gen 3

AWS Amplify Gen 3 (service prefix: amplifygen3) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

Actions defined by AWS Amplify Gen 3

You can specify the following actions in the Action element of an IAM policy statement. For each action, the table lists the resource types and condition keys supported by that action. 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

AcceptForkPullRequestDeployment

Grants permission to accept a pull request deployment from a forked repository

Environment*

aws:ResourceTag/${TagKey}

Write

CancelGradualRollout

Grants permission to cancel a gradual rollout for an alias of an environment

Alias*

aws:ResourceTag/${TagKey}

Write

Connect

Grants permission to connect to an Amplify Gen 3 backend as a service identity, through the REST interface or Postgres relay

Branch*

aws:ResourceTag/${TagKey}

Write

CreateApp

Grants permission to create a new App

App*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateDeployment

Grants permission to create a deployment for an environment of an App

Environment*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateDomainAssociation

Grants permission to create a new domain association for an App

DomainAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateEnvironment

Grants permission to create a new environment for an App

Environment*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateIntegrationConfiguration

Grants permission to create a new integration configuration

IntegrationConfiguration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateIntegrationConnection

Grants permission to create a connection between an integration configuration and an environment

Environment*

aws:ResourceTag/${TagKey}

Write

CreateNetworkConnector

Grants permission to create a new network connector

NetworkConnector*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateSourceUpload

Grants permission to create a source upload and retrieve a pre-signed URL for uploading source artifacts

Write

DeleteAlias

Grants permission to delete an alias for an environment of an App

Alias*

aws:ResourceTag/${TagKey}

Write

DeleteApp

Grants permission to delete an App

App*

aws:ResourceTag/${TagKey}

Write

DeleteBackendFromApp

Grants permission to delete the backend from an App

App*

aws:ResourceTag/${TagKey}

Write

DeleteBranch

Grants permission to delete a branch for an environment of an App

Branch*

aws:ResourceTag/${TagKey}

Write

DeleteDeployment

Grants permission to delete a deployment for an environment of an App

Deployment*

aws:ResourceTag/${TagKey}

Write

DeleteDomainAssociation

Grants permission to delete a domain association for an App

DomainAssociation*

aws:ResourceTag/${TagKey}

Write

DeleteEnvironment

Grants permission to delete an environment for an App

Environment*

aws:ResourceTag/${TagKey}

Write

DeleteEnvironmentVariables

Grants permission to delete environment variables for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

Write

DeleteGitConnection

Grants permission to delete a Git connection

Write

DeleteIdentityProviderConfig

Grants permission to delete the identity provider configuration for an App

App*

aws:ResourceTag/${TagKey}

Write

DeleteIntegrationConfiguration

Grants permission to delete an integration configuration

IntegrationConfiguration*

aws:ResourceTag/${TagKey}

Write

DeleteIntegrationConnection

Grants permission to delete an integration connection

Write

DeleteNetworkConnector

Grants permission to delete a network connector

NetworkConnector*

aws:ResourceTag/${TagKey}

Write

DeleteSourceUpload

Grants permission to delete a source upload

Write

DisableAccessControl

Grants permission to disable access control for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

Write

EnableAccessControl

Grants permission to enable access control for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

Write

GetAccessControl

Grants permission to retrieve the access control configuration for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

Read

GetAlias

Grants permission to retrieve an alias for an environment of an App

Alias*

aws:ResourceTag/${TagKey}

Read

GetApiKey

Grants permission to retrieve an API key of a branch

Branch*

aws:ResourceTag/${TagKey}

Read

GetApp

Grants permission to retrieve an App

App*

aws:ResourceTag/${TagKey}

Read

GetBranch

Grants permission to retrieve a branch for an environment of an App

Branch*

aws:ResourceTag/${TagKey}

Read

GetDeployment

Grants permission to retrieve a deployment for an environment of an App

Deployment*

aws:ResourceTag/${TagKey}

Read

GetDomainAssociation

Grants permission to retrieve a domain association for an App

DomainAssociation*

aws:ResourceTag/${TagKey}

Read

GetDomainConnectUrl

Grants permission to retrieve a domain connect redirect URL for one-click DNS setup

DomainAssociation*

aws:ResourceTag/${TagKey}

Read

GetEnvironment

Grants permission to retrieve an environment for an App

Environment*

aws:ResourceTag/${TagKey}

Read

GetEnvironmentsForNetworkConnector

Grants permission to retrieve the environments associated with a network connector

NetworkConnector*

aws:ResourceTag/${TagKey}

List

GetFile

Grants permission to retrieve a file from a repository

Read

GetFolder

Grants permission to retrieve a folder from a repository

Read

GetIdentityProviderConfig

Grants permission to retrieve the identity provider configuration for an App

App*

aws:ResourceTag/${TagKey}

Read

GetIntegrationConfiguration

Grants permission to retrieve an integration configuration

IntegrationConfiguration*

aws:ResourceTag/${TagKey}

Read

GetIntegrationConnection

Grants permission to retrieve an integration connection

Read

GetNetworkConnector

Grants permission to retrieve a network connector

NetworkConnector*

aws:ResourceTag/${TagKey}

Read

GetRestoreWindow

Grants permission to retrieve the point-in-time restore window of a branch

Branch*

aws:ResourceTag/${TagKey}

Read

GetSourceUpload

Grants permission to retrieve a source upload

Read

ListAccessControls

Grants permission to list access control configurations for an App

App*

aws:ResourceTag/${TagKey}

List

ListAliases

Grants permission to list aliases for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

List

ListApiKeys

Grants permission to list the API keys of a branch

Branch*

aws:ResourceTag/${TagKey}

List

ListApps

Grants permission to list Apps

List

ListBranches

Grants permission to list branches for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

List

ListDeploymentsForApp

Grants permission to list deployments for an App

App*

aws:ResourceTag/${TagKey}

List

ListDeploymentsForEnvironment

Grants permission to list deployments for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

List

ListDomainAssociationsForAccount

Grants permission to list domain associations for an account

List

ListDomainAssociationsForApp

Grants permission to list domain associations for an App

App*

aws:ResourceTag/${TagKey}

List

ListEnvironmentVariables

Grants permission to list environment variables for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

Read

ListEnvironments

Grants permission to list environments for an App

App*

aws:ResourceTag/${TagKey}

List

ListGitBranches

Grants permission to list branches for a repository

List

ListGitConnections

Grants permission to list Git connections

List

ListIntegrationConfigurations

Grants permission to list integration configurations

List

ListIntegrationConnections

Grants permission to list integration connections

List

ListIntegrationTypes

Grants permission to list the available integration types

List

ListNetworkConnectors

Grants permission to list network connectors

List

ListPlanViolations

Grants permission to list the resources in your account that a target plan tier does not support

Read

ListRepositories

Grants permission to list repositories for a Git connection

List

ListSourceUploads

Grants permission to list source uploads

List

ListTagsForResource

Grants permission to list tags for a resource

Alias

aws:ResourceTag/${TagKey}

Read

App

aws:ResourceTag/${TagKey}

Branch

aws:ResourceTag/${TagKey}

Deployment

aws:ResourceTag/${TagKey}

DomainAssociation

aws:ResourceTag/${TagKey}

Environment

aws:ResourceTag/${TagKey}

IntegrationConfiguration

aws:ResourceTag/${TagKey}

NetworkConnector

aws:ResourceTag/${TagKey}

PutEnvironmentVariables

Grants permission to set environment variables for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

Write

PutIdentityProviderConfig

Grants permission to set the identity provider configuration for an App

App*

aws:ResourceTag/${TagKey}

Write

ResetCache

Grants permission to purge cached content by cache tag for a deployment of an environment

Deployment*

aws:ResourceTag/${TagKey}

Write

RestoreBranch

Grants permission to restore a branch to a point in time into a new branch

Branch*

aws:ResourceTag/${TagKey}

Write

ResumeBackend

Grants permission to resume the paused backend of an App

App*

aws:ResourceTag/${TagKey}

Write

RevokeApiKey

Grants permission to revoke an API key of a branch

Branch*

aws:ResourceTag/${TagKey}

Write

RotateIdentityProviderSecret

Grants permission to rotate the client secret of the identity provider configuration for an App

App*

aws:ResourceTag/${TagKey}

Write

StartAuthorizationFlow

Grants permission to start an authorization flow for connecting a Git provider

Write

StartCacheRevalidation

Grants permission to revalidate cached content by cache tag for a deployment of an environment

Deployment*

aws:ResourceTag/${TagKey}

Write

TagResource

Grants permission to tag a resource

Alias

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

App

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Branch

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Deployment

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

DomainAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Environment

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

IntegrationConfiguration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

NetworkConnector

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

Grants permission to remove tags from a resource

Alias

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

App

aws:ResourceTag/${TagKey}

aws:TagKeys

Branch

aws:ResourceTag/${TagKey}

aws:TagKeys

Deployment

aws:ResourceTag/${TagKey}

aws:TagKeys

DomainAssociation

aws:ResourceTag/${TagKey}

aws:TagKeys

Environment

aws:ResourceTag/${TagKey}

aws:TagKeys

IntegrationConfiguration

aws:ResourceTag/${TagKey}

aws:TagKeys

NetworkConnector

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateAccessControl

Grants permission to update the access control configuration for an environment of an App

Environment*

aws:ResourceTag/${TagKey}

Write

UpdateAliasRouting

Grants permission to update the routing configuration of an alias for an environment of an App

Alias*

aws:ResourceTag/${TagKey}

Write

UpdateApp

Grants permission to update an App

App*

aws:ResourceTag/${TagKey}

Write

UpdateDomainAssociation

Grants permission to update a domain association for an App

DomainAssociation*

aws:ResourceTag/${TagKey}

Write

UpdateEnvironment

Grants permission to update an environment for an App

Environment*

aws:ResourceTag/${TagKey}

Write

UpdateIntegrationConfiguration

Grants permission to update an integration configuration

IntegrationConfiguration*

aws:ResourceTag/${TagKey}

Write

UpdateNetworkConnector

Grants permission to update a network connector

NetworkConnector*

aws:ResourceTag/${TagKey}

Write

Permission-only actions for AWS Amplify Gen 3

The following actions are defined by AWS Amplify Gen 3 but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.

Actions Description Resource types (*required) Condition keys Access level

AllowVendedLogDeliveryForResource

Grants permission to configure vended log delivery for AmplifyGen3

Environment*

aws:ResourceTag/${TagKey}

Permissions management, Write

AssociateWebACL

Grants permission to associate a WebACL with an App

App*

aws:ResourceTag/${TagKey}

Write

DisassociateWebACL

Grants permission to disassociate a WebACL from an App

App*

aws:ResourceTag/${TagKey}

Write

GetWebACLForResource

Grants permission to retrieve the WebACL associated with an App

App*

aws:ResourceTag/${TagKey}

Read

ListResourcesForWebACL

Grants permission to list the resources associated with a WebACL

List

Resource types defined by AWS Amplify Gen 3

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

Alias

arn:${Partition}:amplifygen3:${Region}:${Account}:app/${AppName}/environment/${EnvironmentName}/alias/${AliasName}

aws:ResourceTag/${TagKey}

App

arn:${Partition}:amplifygen3:${Region}:${Account}:app/${AppName}

aws:ResourceTag/${TagKey}

Branch

arn:${Partition}:amplifygen3:${Region}:${Account}:app/${AppName}/environment/${EnvironmentName}/branch/${BranchName}

aws:ResourceTag/${TagKey}

Deployment

arn:${Partition}:amplifygen3:${Region}:${Account}:app/${AppName}/environment/${EnvironmentName}/deployment/${DeploymentId}

aws:ResourceTag/${TagKey}

DomainAssociation

arn:${Partition}:amplifygen3:${Region}:${Account}:app/${AppName}/domain/${DomainName}

aws:ResourceTag/${TagKey}

Environment

arn:${Partition}:amplifygen3:${Region}:${Account}:app/${AppName}/environment/${EnvironmentName}

aws:ResourceTag/${TagKey}

IntegrationConfiguration

arn:${Partition}:amplifygen3:${Region}:${Account}:integration-configuration/${IntegrationName}

aws:ResourceTag/${TagKey}

NetworkConnector

arn:${Partition}:amplifygen3:${Region}:${Account}:network-connector/${NetworkConnectorName}

aws:ResourceTag/${TagKey}

Condition keys for AWS Amplify Gen 3

AWS Amplify Gen 3 defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

Filters access by a tag's key and value in a request

String

aws:ResourceTag/${TagKey}

Filters actions based on the presence of tag key-value pairs in the request

String

aws:TagKeys

Filters access by the tag keys in a request

ArrayOfString