Skip to content

Commit 8a747fc

Browse files
committed
Add README.md and tutorial walkthrough for script-only tutorials
1 parent 1f838b6 commit 8a747fc

10 files changed

Lines changed: 320 additions & 0 deletions

File tree

tuts/128-aws-waf-gs/README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Aws Waf Gs
2+
3+
An AWS CLI tutorial that demonstrates Wafv2 operations.
4+
5+
## Running
6+
7+
```bash
8+
bash aws-waf-gs.sh
9+
```
10+
11+
To auto-run with cleanup:
12+
13+
```bash
14+
echo 'y' | bash aws-waf-gs.sh
15+
```
16+
17+
## What it does
18+
19+
1. Creating web ACL: $ACL_NAME
20+
2. Describing web ACL
21+
3. Listing available managed rule groups
22+
4. Listing web ACLs
23+
24+
## Resources created
25+
26+
- Web Acl
27+
28+
The script prompts you to clean up resources when it finishes.
29+
30+
## Cost
31+
32+
Free tier eligible for most operations. Clean up resources after use to avoid charges.
33+
34+
## Related docs
35+
36+
- [AWS CLI wafv2 reference](https://docs.aws.amazon.com/cli/latest/reference/wafv2/index.html)
37+

tuts/128-aws-waf-gs/aws-waf-gs.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Aws Waf Gs
2+
3+
## Prerequisites
4+
5+
1. AWS CLI installed and configured (`aws configure`)
6+
2. Appropriate IAM permissions for the AWS services used
7+
8+
## Step 1: Creating web ACL: $ACL_NAME
9+
10+
The script handles this step automatically. See `aws-waf-gs.sh` for the exact CLI commands.
11+
12+
## Step 2: Describing web ACL
13+
14+
The script handles this step automatically. See `aws-waf-gs.sh` for the exact CLI commands.
15+
16+
## Step 3: Listing available managed rule groups
17+
18+
The script handles this step automatically. See `aws-waf-gs.sh` for the exact CLI commands.
19+
20+
## Step 4: Listing web ACLs
21+
22+
The script handles this step automatically. See `aws-waf-gs.sh` for the exact CLI commands.
23+
24+
## Cleanup
25+
26+
The script prompts you to clean up all created resources. If you need to clean up manually, check the script log for the resource names that were created.
27+

tuts/129-amazon-macie-gs/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Amazon Macie Gs
2+
3+
A read-only script that queries Macie2 resources and displays information.
4+
5+
## Running
6+
7+
```bash
8+
bash amazon-macie-gs.sh
9+
```
10+
11+
## What it does
12+
13+
1. Enabling Macie
14+
2. Getting session details
15+
3. Listing S3 buckets
16+
4. Getting usage statistics
17+
18+
## Resources created
19+
20+
None — this script is read-only.
21+
22+
## Cost
23+
24+
No cost. This script only reads existing resources.
25+
26+
## Related docs
27+
28+
- [AWS CLI macie2 reference](https://docs.aws.amazon.com/cli/latest/reference/macie2/index.html)
29+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Amazon Macie Gs
2+
3+
## Prerequisites
4+
5+
1. AWS CLI installed and configured (`aws configure`)
6+
2. Appropriate IAM permissions for the AWS services used
7+
8+
## Step 1: Enabling Macie
9+
10+
The script handles this step automatically. See `amazon-macie-gs.sh` for the exact CLI commands.
11+
12+
## Step 2: Getting session details
13+
14+
The script handles this step automatically. See `amazon-macie-gs.sh` for the exact CLI commands.
15+
16+
## Step 3: Listing S3 buckets
17+
18+
The script handles this step automatically. See `amazon-macie-gs.sh` for the exact CLI commands.
19+
20+
## Step 4: Getting usage statistics
21+
22+
The script handles this step automatically. See `amazon-macie-gs.sh` for the exact CLI commands.
23+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Amazon Detective Gs
2+
3+
An AWS CLI tutorial that demonstrates Detective operations.
4+
5+
## Running
6+
7+
```bash
8+
bash amazon-detective-gs.sh
9+
```
10+
11+
To auto-run with cleanup:
12+
13+
```bash
14+
echo 'y' | bash amazon-detective-gs.sh
15+
```
16+
17+
## What it does
18+
19+
1. Enabling Detective
20+
2. Listing graphs
21+
3. Listing members
22+
23+
## Resources created
24+
25+
- Graph
26+
27+
The script prompts you to clean up resources when it finishes.
28+
29+
## Cost
30+
31+
Free tier eligible for most operations. Clean up resources after use to avoid charges.
32+
33+
## Related docs
34+
35+
- [AWS CLI detective reference](https://docs.aws.amazon.com/cli/latest/reference/detective/index.html)
36+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Amazon Detective Gs
2+
3+
## Prerequisites
4+
5+
1. AWS CLI installed and configured (`aws configure`)
6+
2. Appropriate IAM permissions for the AWS services used
7+
8+
## Step 1: Enabling Detective
9+
10+
The script handles this step automatically. See `amazon-detective-gs.sh` for the exact CLI commands.
11+
12+
## Step 2: Listing graphs
13+
14+
The script handles this step automatically. See `amazon-detective-gs.sh` for the exact CLI commands.
15+
16+
## Step 3: Listing members
17+
18+
The script handles this step automatically. See `amazon-detective-gs.sh` for the exact CLI commands.
19+
20+
## Cleanup
21+
22+
The script prompts you to clean up all created resources. If you need to clean up manually, check the script log for the resource names that were created.
23+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Amazon Verifiedpermissions Gs
2+
3+
An AWS CLI tutorial that demonstrates Verifiedpermissions operations.
4+
5+
## Running
6+
7+
```bash
8+
bash amazon-verifiedpermissions-gs.sh
9+
```
10+
11+
To auto-run with cleanup:
12+
13+
```bash
14+
echo 'y' | bash amazon-verifiedpermissions-gs.sh
15+
```
16+
17+
## What it does
18+
19+
1. Creating policy store
20+
2. Creating a static policy
21+
3. Testing authorization
22+
4. Testing denied action
23+
5. Listing policies
24+
25+
## Resources created
26+
27+
- Policy
28+
- Policy Store
29+
30+
The script prompts you to clean up resources when it finishes.
31+
32+
## Cost
33+
34+
Free tier eligible for most operations. Clean up resources after use to avoid charges.
35+
36+
## Related docs
37+
38+
- [AWS CLI verifiedpermissions reference](https://docs.aws.amazon.com/cli/latest/reference/verifiedpermissions/index.html)
39+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Amazon Verifiedpermissions Gs
2+
3+
## Prerequisites
4+
5+
1. AWS CLI installed and configured (`aws configure`)
6+
2. Appropriate IAM permissions for the AWS services used
7+
8+
## Step 1: Creating policy store
9+
10+
The script handles this step automatically. See `amazon-verifiedpermissions-gs.sh` for the exact CLI commands.
11+
12+
## Step 2: Creating a static policy
13+
14+
The script handles this step automatically. See `amazon-verifiedpermissions-gs.sh` for the exact CLI commands.
15+
16+
## Step 3: Testing authorization
17+
18+
The script handles this step automatically. See `amazon-verifiedpermissions-gs.sh` for the exact CLI commands.
19+
20+
## Step 4: Testing denied action
21+
22+
The script handles this step automatically. See `amazon-verifiedpermissions-gs.sh` for the exact CLI commands.
23+
24+
## Step 5: Listing policies
25+
26+
The script handles this step automatically. See `amazon-verifiedpermissions-gs.sh` for the exact CLI commands.
27+
28+
## Cleanup
29+
30+
The script prompts you to clean up all created resources. If you need to clean up manually, check the script log for the resource names that were created.
31+

tuts/154-iam-policies/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Iam Policies
2+
3+
An AWS CLI tutorial that demonstrates Iam operations.
4+
5+
## Running
6+
7+
```bash
8+
bash iam-policies.sh
9+
```
10+
11+
To auto-run with cleanup:
12+
13+
```bash
14+
echo 'y' | bash iam-policies.sh
15+
```
16+
17+
## What it does
18+
19+
1. Creating a custom policy
20+
2. Getting policy details
21+
3. Getting policy version (the actual document)
22+
4. Creating a role and attaching the policy
23+
5. Listing attached policies
24+
6. Simulating policy
25+
26+
## Resources created
27+
28+
- Policy
29+
- Role
30+
31+
The script prompts you to clean up resources when it finishes.
32+
33+
## Cost
34+
35+
Free tier eligible for most operations. Clean up resources after use to avoid charges.
36+
37+
## Related docs
38+
39+
- [AWS CLI iam reference](https://docs.aws.amazon.com/cli/latest/reference/iam/index.html)
40+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Iam Policies
2+
3+
## Prerequisites
4+
5+
1. AWS CLI installed and configured (`aws configure`)
6+
2. Appropriate IAM permissions for the AWS services used
7+
8+
## Step 1: Creating a custom policy
9+
10+
The script handles this step automatically. See `iam-policies.sh` for the exact CLI commands.
11+
12+
## Step 2: Getting policy details
13+
14+
The script handles this step automatically. See `iam-policies.sh` for the exact CLI commands.
15+
16+
## Step 3: Getting policy version (the actual document)
17+
18+
The script handles this step automatically. See `iam-policies.sh` for the exact CLI commands.
19+
20+
## Step 4: Creating a role and attaching the policy
21+
22+
The script handles this step automatically. See `iam-policies.sh` for the exact CLI commands.
23+
24+
## Step 5: Listing attached policies
25+
26+
The script handles this step automatically. See `iam-policies.sh` for the exact CLI commands.
27+
28+
## Step 6: Simulating policy
29+
30+
The script handles this step automatically. See `iam-policies.sh` for the exact CLI commands.
31+
32+
## Cleanup
33+
34+
The script prompts you to clean up all created resources. If you need to clean up manually, check the script log for the resource names that were created.
35+

0 commit comments

Comments
 (0)