Skip to content

Commit bc99f83

Browse files
committed
Continue updating pages
1 parent 685c774 commit bc99f83

File tree

7 files changed

+21
-28
lines changed

7 files changed

+21
-28
lines changed
197 KB
Loading
133 KB
Loading
693 KB
Loading
176 KB
Loading

src/content/docs/aws/capabilities/security-testing/iam-policy-enforcement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ If the IAM policies are not correctly enforced, you will get an unsuccessful res
123123

124124
## Feature coverage
125125

126-
The feature coverage is documented in the [IAM coverage documentation](/aws/services/iam#coverage).
126+
The feature coverage is documented in the [IAM coverage documentation](/aws/services/iam#aws-api-coverage).

src/content/docs/aws/tooling/localsurf.md

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,17 @@ While developing and testing AWS cloud Web applications locally with LocalStack,
2020
This extension is not yet available in the Chrome Web Store, but can be installed directly from source.
2121
Clone the repository on your local machine to get started:
2222

23-
{{< command >}}
24-
$ git clone git@github.com:localstack/local-surf.git
25-
{{< /command >}}
23+
```bash
24+
git clone git@github.com:localstack/local-surf.git
25+
```
2626

2727
Head over to `chrome://extensions/` in Chrome, then select `"Load unpacked"` and point to the directory where the source code files are stored on the disk.
2828

2929
Once installed, a new icon should appear in the Chrome extensions bar.
3030
When clicking on the icon, the plugin can be enabled/disabled by toggling the **Enable local mode** checkbox.
3131

32-
<p>
33-
{{< img src="localsurf-extension.png" class="img-fluid shadow rounded" >}}
34-
</p>
32+
33+
![LocalSurf Extension](/images/aws/localsurf-extension.png)
3534

3635
## Usage
3736

@@ -40,37 +39,31 @@ This app consists of various backend components (e.g., DynamoDB tables, Lambda f
4039

4140
We can deploy the backend components to LocalStack directly, using the `samlocal` command line interface (CLI):
4241

43-
{{< command >}}
44-
$ samlocal build
45-
$ samlocal deploy
46-
{{< /command >}}
42+
```bash
43+
samlocal build
44+
samlocal deploy
45+
```
4746

4847
Once deployed, the `samlocal` CLI will print out a display app URL which will look similar to the following:
4948

50-
```sh
49+
```bash
5150
Key DisplayAppURI
5251
Description The URL for the Display App
5352
Value https://workshop-display.serverlesscoffee.com/?region=us-east-1&userPoolId=us-east-1_43c9800e64c84467aa0abdb102e226ef&userPoolWebClientId=vr9aw2jr7iv36ezwaaqlzzkvbp&poolId=us-east-1:95dc88d0-1029-48fe-ba7b-1e6a9741bfc5&host=localhost.localstack.cloud&orderManagerEndpoint=https://fapencq0ue.execute-api.amazonaws.com:4566/Prod&APIGWEndpointValidatorService=https://psmdc7b1lv.execute-api.amazonaws.com:4566/Prod&APIGWEndpointConfigService=https://hw7yw61ba7.execute-api.amazonaws.com:4566/Prod
5453
```
5554

5655
We can then open the URL in the browser and confirm the configurations in the form dialog:
5756

58-
<p>
59-
{{< img src="serverlesspresso-config.png" class="img-fluid shadow rounded" >}}
60-
</p>
61-
<br>
57+
![Confirm configurations dialog](/images/aws/serverlesspresso-config.png)
58+
6259
Once confirmed, we are being forwarded to a signin screen, which uses an AWS Cognito user pool to manage authentication:
6360

64-
<p>
65-
{{< img src="serverlesspresso-login.png" class="img-fluid shadow rounded" >}}
66-
</p>
67-
<br>
61+
![AWS Cognito sign in](/images/aws/serverlesspresso-login.png)
62+
6863
After clicking **Sign In** in this form, we can see that the browser makes a request to LocalStack (to `localhost.localstack.cloud`, which is a domain name that resolves to `127.0.0.1`).
69-
<br>
70-
<p>
71-
{{< img src="chrome-networking.png" class="img-fluid shadow rounded" >}}
72-
</p>
73-
<br>
64+
65+
![Chrome Networking](/images/aws/chrome-networking.png)
66+
7467
This sample demonstrates how we can take an existing Web application, without any modification, and make it talk to the LocalStack APIs directly from the browser via the LocalSurf plugin.
7568

7669
## Note

src/content/docs/aws/tooling/testing-utils.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ This Python Testing Utils streamlines the integration of Localstack with your un
1717

1818
### Installation
1919

20-
{{< command >}}
21-
$ pip install localstack-utils
22-
{{< /command >}}
20+
```bash
21+
pip install localstack-utils
22+
```
2323

2424
### Usage
2525

0 commit comments

Comments
 (0)