Skip to content

Commit 75cd35c

Browse files
committed
more
1 parent 36686f2 commit 75cd35c

File tree

3 files changed

+322
-196
lines changed

3 files changed

+322
-196
lines changed

src/content/docs/aws/services/shield.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: "Shield"
3-
linkTitle: "Shield"
43
description: Get started with Shield on LocalStack
54
tags: ["Ultimate"]
65
---
@@ -12,7 +11,7 @@ Shield provides always-on detection and inline mitigations that minimize applica
1211
Shield detection and mitigation is designed to protect against threats, including ones that are not known to the service at the time of detection.
1312

1413
LocalStack allows you to use the Shield APIs in your local environment, and provides a simple way to mock and test the Shield service locally.
15-
The supported APIs are available on our [API coverage page]({{< ref "coverage_shield" >}}), which provides information on the extent of Shield's integration with LocalStack.
14+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Shield's integration with LocalStack.
1615

1716
## Getting Started
1817

@@ -26,11 +25,11 @@ We will demonstrate how to create a Shield protection, list all protections, and
2625
To create a Shield protection, use the [`CreateProtection`](https://docs.aws.amazon.com/cli/latest/reference/shield/create-protection.html) API.
2726
The following command creates a Shield protection for a resource:
2827

29-
{{< command >}}
30-
$ awslocal shield create-protection \
28+
```bash
29+
awslocal shield create-protection \
3130
--name "my-protection" \
3231
--resource-arn "arn:aws:elasticloadbalancing:us-east-1:000000000000:loadbalancer/app/my-alb/1234567890"
33-
{{< /command >}}
32+
```
3433

3534
The output should look similar to the following:
3635

@@ -45,9 +44,9 @@ The output should look similar to the following:
4544
To list all Shield protections, use the [`ListProtections`](https://docs.aws.amazon.com/cli/latest/reference/shield/list-protections.html) API.
4645
The following command lists all Shield protections:
4746

48-
{{< command >}}
49-
$ awslocal shield list-protections
50-
{{< /command >}}
47+
```bash
48+
awslocal shield list-protections
49+
```
5150

5251
The output should look similar to the following:
5352

@@ -69,10 +68,10 @@ The output should look similar to the following:
6968
To describe a Shield protection, use the [`DescribeProtection`](https://docs.aws.amazon.com/cli/latest/reference/shield/describe-protection.html) API.
7069
The following command describes a Shield protection:
7170

72-
{{< command >}}
73-
$ awslocal shield describe-protection \
71+
```bash
72+
awslocal shield describe-protection \
7473
--protection-id "67908d33-16c0-443d-820a-31c02c4d5976"
75-
{{< /command >}}
74+
```
7675

7776
Replace the protection ID with the ID of the protection you want to describe.
7877
The output should look similar to the following:
@@ -93,10 +92,10 @@ The output should look similar to the following:
9392
To delete a Shield protection, use the [`DeleteProtection`](https://docs.aws.amazon.com/cli/latest/reference/shield/delete-protection.html) API.
9493
The following command deletes a Shield protection:
9594

96-
{{< command >}}
97-
$ awslocal shield delete-protection \
95+
```bash
96+
awslocal shield delete-protection \
9897
--protection-id "67908d33-16c0-443d-820a-31c02c4d5976"
99-
{{< /command >}}
98+
```
10099

101100
## Current Limitations
102101

0 commit comments

Comments
 (0)