mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# aws amplify
|
|
|
|
> Development platform for building secure, scalable mobile and web applications.
|
|
> More information: <https://docs.aws.amazon.com/cli/latest/reference/amplify/>.
|
|
|
|
- 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}}`
|