2025-03-14 21:59:59 -06:00
|
|
|
# aws amplify
|
|
|
|
|
|
|
|
|
|
> Development platform for building secure, scalable mobile and web applications.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://docs.aws.amazon.com/cli/latest/reference/amplify/>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a new Amplify app:
|
|
|
|
|
|
|
|
|
|
`aws amplify create-app --name {{app_name}} --description {{description}} --repository {{repo_url}} --platform {{platform}} --environment-variables {{env_vars}} --tags {{tags}}`
|
|
|
|
|
|
|
|
|
|
- Delete an existing Amplify app:
|
|
|
|
|
|
|
|
|
|
`aws amplify delete-app --app-id {{app_id}}`
|
|
|
|
|
|
|
|
|
|
- Get details of a specific Amplify app:
|
|
|
|
|
|
|
|
|
|
`aws amplify get-app --app-id {{app_id}}`
|
|
|
|
|
|
|
|
|
|
- List all Amplify apps:
|
|
|
|
|
|
|
|
|
|
`aws amplify list-apps`
|
|
|
|
|
|
|
|
|
|
- Update settings of an Amplify app:
|
|
|
|
|
|
|
|
|
|
`aws amplify update-app --app-id {{app_id}} --name {{new_name}} --description {{new_description}} --repository {{new_repo_url}} --environment-variables {{new_env_vars}} --tags {{new_tags}}`
|
|
|
|
|
|
|
|
|
|
- Add a new backend environment to an Amplify app:
|
|
|
|
|
|
|
|
|
|
`aws amplify create-backend-environment --app-id {{app_id}} --environment-name {{env_name}} --deployment-artifacts {{artifacts}}`
|
|
|
|
|
|
|
|
|
|
- Remove a backend environment from an Amplify app:
|
|
|
|
|
|
|
|
|
|
`aws amplify delete-backend-environment --app-id {{app_id}} --environment-name {{env_name}}`
|
|
|
|
|
|
|
|
|
|
- List all backend environments in an Amplify app:
|
|
|
|
|
|
|
|
|
|
`aws amplify list-backend-environments --app-id {{app_id}}`
|