You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/amplify.md
+13-15Lines changed: 13 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
2
title: "Amplify"
3
-
linkTitle: "Amplify"
4
3
description: Get started with Amplify on LocalStack
5
4
tags: ["Ultimate"]
6
5
persistence: supported
@@ -12,12 +11,12 @@ Amplify is a JavaScript-based development framework with libraries, UI component
12
11
With Amplify, developers can build and host static websites, single-page applications, and full-stack serverless web applications using an abstraction layer over popular AWS services like DynamoDB, Cognito, AppSync, Lambda, S3, and more.
13
12
14
13
LocalStack allows you to use the Amplify APIs to build and test their Amplify applications locally.
15
-
The supported APIs are available on our [API coverage page]({{< ref "coverage_amplify" >}}), which provides information on the extent of Amplify's integration with LocalStack.
14
+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Amplify's integration with LocalStack.
16
15
17
-
{{< callout "note" >}}
16
+
:::note
18
17
The `amplifylocal` CLI and the Amplify JS library have been deprecated and are no longer supported.
19
18
We recommend using the Amplify CLI with the Amplify LocalStack Plugin instead.
20
-
{{< /callout >}}
19
+
:::
21
20
22
21
## Amplify LocalStack Plugin
23
22
@@ -28,10 +27,10 @@ It achieves this by redirecting any requests to AWS to a LocalStack container ru
28
27
29
28
To install the Amplify LocalStack Plugin, install the [amplify-localstack](https://www.npmjs.com/package/amplify-localstack) package from the npm registry and add the plugin to your Amplify setup:
30
29
31
-
{{< command >}}
32
-
$ npm install -g amplify-localstack
33
-
$ amplify plugin add amplify-localstack
34
-
{{< /command >}}
30
+
```bash
31
+
npm install -g amplify-localstack
32
+
amplify plugin add amplify-localstack
33
+
```
35
34
36
35
### Configuration
37
36
@@ -53,19 +52,18 @@ The console will prompt you to select whether to deploy to LocalStack or AWS.
53
52
You can also add the parameter `--use-localstack true` to your commands to avoid being prompted and automatically use LocalStack.
54
53
Here is an example:
55
54
56
-
{{< command >}}
57
-
$ amplify init --use-localstack true
58
-
$ amplify add api
59
-
$ amplify push --use-localstack true
60
-
{{< /command >}}
55
+
```bash
56
+
amplify init --use-localstack true
57
+
amplify add api
58
+
amplify push --use-localstack true
59
+
```
61
60
62
61
## Resource Browser
63
62
64
63
The LocalStack Web Application provides a Resource Browser for managing Amplify applications.
65
64
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the **Resource Browser** section, and then clicking on **Amplify** under the **Front-end Web & Mobile** section.
0 commit comments