Skip to content

Commit 6664a01

Browse files
committed
inline code formatting
1 parent c98621b commit 6664a01

16 files changed

Lines changed: 40 additions & 40 deletions

File tree

tuts/003-s3-gettingstarted/s3-gettingstarted.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ aws s3api put-object \
114114
--metadata "author=AWSDocumentation,purpose=tutorial"
115115
```
116116

117-
Notice that we used "documents/" in the key name. This creates a logical folder structure in your bucket, even though S3 is actually a flat object store.
117+
Notice that we used `documents/` in the key name. This creates a logical folder structure in your bucket, even though S3 is actually a flat object store.
118118

119119
## Download and verify objects
120120

@@ -127,7 +127,7 @@ aws s3api get-object \
127127
"downloaded-sample-file.txt"
128128
```
129129

130-
The command downloads the object and saves it as "downloaded-sample-file.txt" in your current directory. The output provides metadata about the object:
130+
The command downloads the object and saves it as `downloaded-sample-file.txt` in your current directory. The output provides metadata about the object:
131131

132132
```
133133
{

tuts/018-ecs-ec2/ecs-ec2-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Output:
7575
}
7676
```
7777

78-
The response shows that your cluster has been created successfully and is in the "ACTIVE" status. You can now launch container instances and run tasks in this cluster.
78+
The response shows that your cluster has been created successfully and is in the `ACTIVE` status. You can now launch container instances and run tasks in this cluster.
7979

8080
**Verify cluster creation**
8181

tuts/028-sagemaker-featurestore/sagemaker-featurestore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ These commands first remove all objects from the S3 bucket and then delete the b
625625

626626
The following commands delete the SageMaker execution role that's created for this tutorial.
627627

628-
Note: Replace "123456789012" with your account ID.
628+
Note: Replace `123456789012` with your account ID.
629629
```
630630
# Delete the custom policy
631631
aws iam detach-role-policy \

tuts/030-marketplace-buyer-gs/marketplace-buyer-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ aws marketplace-catalog list-entities \
5555
--query "WordPress"
5656
```
5757

58-
This command searches for WordPress-related AMI products in AWS Marketplace. You can replace "WordPress" with any keyword relevant to your needs.
58+
This command searches for WordPress-related AMI products in AWS Marketplace. You can replace `WordPress` with any keyword relevant to your needs.
5959

6060
**Get details about a specific product**
6161

tuts/035-workspaces-personal/workspaces-personal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Replace `d-abcd1234` with your actual directory ID. The registration process may
7070
aws workspaces describe-workspace-directories --directory-ids d-abcd1234
7171
```
7272

73-
Look for the `"State": "REGISTERED"` field in the output to confirm that registration is complete.
73+
Look for the `State: REGISTERED` field in the output to confirm that registration is complete.
7474

7575
## List available WorkSpaces bundles
7676

@@ -125,7 +125,7 @@ Creating a WorkSpace can take 20 minutes or more. To check the status of your Wo
125125
aws workspaces describe-workspaces --workspace-ids ws-abcd1234
126126
```
127127

128-
Replace `ws-abcd1234` with your actual WorkSpace ID. Look for the `"State"` field in the output:
128+
Replace `ws-abcd1234` with your actual WorkSpace ID. Look for the `State` field in the output:
129129
- `PENDING`: The WorkSpace is still being created
130130
- `AVAILABLE`: The WorkSpace is ready to use
131131
- `ERROR`: There was a problem creating the WorkSpace

tuts/037-emr-gs/emr-gs.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ aws ec2 create-key-pair --key-name emr-tutorial-key --query 'KeyMaterial' --outp
3030
```
3131

3232
This command creates a new key pair named "emr-tutorial-key" and saves the private key to a file called
33-
"emr-tutorial-key.pem".
33+
`emr-tutorial-key.pem`.
3434

3535
**Set proper permissions on the key file**
3636

@@ -159,7 +159,7 @@ aws emr create-cluster \
159159
--log-uri s3://amzndemo-s3-demo-bucket/logs/
160160
```
161161

162-
Replace `your-key-pair-name` with the name of your EC2 key pair. In this tutorial, we use "emr-tutorial-key" as your key pair name.
162+
Replace `your-key-pair-name` with the name of your EC2 key pair. In this tutorial, we use `emr-tutorial-key` as your key pair name.
163163
This command creates a cluster with one primary node and two core nodes, all using m5.xlarge instances. The cluster will have Spark installed and will use the default IAM roles.
164164

165165
The command returns a cluster ID, which you'll need for subsequent operations:
@@ -179,7 +179,7 @@ Check the status of your cluster to see when it's ready:
179179
aws emr describe-cluster --cluster-id j-1234ABCD5678
180180
```
181181

182-
Replace `j-1234ABCD5678` with your actual cluster ID. The cluster is ready when its state changes to "WAITING":
182+
Replace `j-1234ABCD5678` with your actual cluster ID. The cluster is ready when its state changes to `WAITING`:
183183

184184
```json
185185
{
@@ -196,7 +196,7 @@ Replace `j-1234ABCD5678` with your actual cluster ID. The cluster is ready when
196196
}
197197
```
198198

199-
It may take 5-10 minutes for the cluster to reach the "WAITING" state.
199+
It may take 5-10 minutes for the cluster to reach the `WAITING` state.
200200

201201
## Submit work to your cluster
202202

@@ -230,7 +230,7 @@ Monitor the status of your step. Replace `s-1234ABCDEFGH` with your actual step
230230
aws emr describe-step --cluster-id j-1234ABCD5678 --step-id s-1234ABCDEFGH
231231
```
232232

233-
The step is complete when its state changes to "COMPLETED":
233+
The step is complete when its state changes to `COMPLETED`:
234234

235235
```json
236236
{
@@ -267,7 +267,7 @@ You should see output similar to:
267267

268268
**Download and view results**
269269

270-
Download the results file to your local machine. Replace "part-00000-abcd1234-abcd-1234-abcd-abcd1234abcd-c000.csv" with the actual filename from your "aws s3 ls" output.
270+
Download the results file to your local machine. Replace `part-00000-abcd1234-abcd-1234-abcd-abcd1234abcd-c000.csv` with the actual filename from your `aws s3 ls` output.
271271

272272
```bash
273273
aws s3 cp s3://amzndemo-s3-demo-bucket/results/part-00000-abcd1234-abcd-1234-abcd-abcd1234abcd-c000.csv ./results.csv
@@ -307,14 +307,14 @@ Step 1. Get your current IP address:
307307
curl -s https://checkip.amazonaws.com
308308
```
309309

310-
Step 2. Find your cluster's security group. Replace "j-1234ABCD5678" with your cluster ID.
310+
Step 2. Find your cluster's security group. Replace `j-1234ABCD5678` with your cluster ID.
311311

312312
```bash
313313
aws emr describe-cluster --cluster-id j-1234ABCD5678 --query 'Cluster.Ec2InstanceAttributes.EmrManagedMasterSecurityGroup' --output text
314314
```
315315

316316

317-
Step 3. Add SSH access rule to the security group. Replace "sg-xxxxxxxxx" with your security group ID that's returned in Step 2. Replace YOUR_IP_ADDRESS with the IP from
317+
Step 3. Add SSH access rule to the security group. Replace `sg-xxxxxxxxx` with your security group ID that's returned in Step 2. Replace YOUR_IP_ADDRESS with the IP from
318318
Step 1.
319319

320320
```bash
@@ -326,7 +326,7 @@ Step 1.
326326

327327
**Connect via SSH**
328328

329-
Use the following command to connect to the primary node of your cluster. Replace "j-1234ABCD5678" with your actual cluster ID. Replace "`~/path/to/your-key-pair.pem`" with the path to your key pair file. In this example, we use "`~/emr-tutorial-key`" as the path to your key pair.
329+
Use the following command to connect to the primary node of your cluster. Replace `j-1234ABCD5678` with your actual cluster ID. Replace `~/path/to/your-key-pair.pem` with the path to your key pair file. In this example, we use `~/emr-tutorial-key` as the path to your key pair.
330330

331331
```bash
332332
aws emr ssh --cluster-id j-1234ABCD5678 --key-pair-file ~/path/to/your-key-pair.pem
@@ -374,7 +374,7 @@ sudo cat /var/log/spark/spark-history-server.out
374374
**Troubleshooting**
375375
376376
**Connection timeout:** Verify that your security group allows SSH (port 22) from your IP
377-
**Permission denied:** Ensure your key pair file has correct permissions. Replace "`~/emr-tutorial-key.pem`" with the path to your key pair file. In this example, we use "`~/emr-tutorial-key`" as the path to your key pair.
377+
**Permission denied:** Ensure your key pair file has correct permissions. Replace `~/emr-tutorial-key.pem` with the path to your key pair file. In this example, we use `~/emr-tutorial-key` as the path to your key pair.
378378
```
379379
chmod 400 ~/emr-tutorial-key.pem
380380
```
@@ -387,19 +387,19 @@ When you're finished with the tutorial, clean up your resources to avoid incurri
387387
388388
**Terminate the cluster**
389389
390-
Terminate your EMR cluster. Replace "j-1234ABCD5678" with your cluster ID.
390+
Terminate your EMR cluster. Replace `j-1234ABCD5678` with your cluster ID.
391391
392392
```bash
393393
aws emr terminate-clusters --cluster-ids j-1234ABCD5678
394394
```
395395
396-
Check the termination status. Replace "j-1234ABCD5678" with your cluster ID.
396+
Check the termination status. Replace `j-1234ABCD5678` with your cluster ID.
397397
398398
```bash
399399
aws emr describe-cluster --cluster-id j-1234ABCD5678
400400
```
401401
402-
The cluster is terminated when its state changes to "TERMINATED". An example response is as follows:
402+
The cluster is terminated when its state changes to `TERMINATED`. An example response is as follows:
403403
404404
```json
405405
{
@@ -419,7 +419,7 @@ The cluster is terminated when its state changes to "TERMINATED". An example res
419419
420420
**Delete S3 resources**
421421
422-
Delete the contents of your S3 bucket. Replace "amzndemo-s3-demo-bucket" with the name of your Amazon S3 bucket.
422+
Delete the contents of your S3 bucket. Replace `amzndemo-s3-demo-bucket` with the name of your Amazon S3 bucket.
423423
424424
```bash
425425
aws s3 rm s3://amzndemo-s3-demo-bucket --recursive

tuts/040-qbusiness-ica/qbusiness-ica.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ The total cost for running the resources in this tutorial for one hour is approx
2626

2727
Amazon Q Business uses IAM Identity Center for user management. In this step, you'll check if you have an IAM Identity Center instance and create one if needed.
2828

29-
First, check if you already have an IAM Identity Center instance. Replace "us-east-1" with the AWS Region where your IAM Identity Center instance is located.
29+
First, check if you already have an IAM Identity Center instance. Replace `us-east-1` with the AWS Region where your IAM Identity Center instance is located.
3030

3131
```bash
3232
aws sso-admin list-instances --region us-east-1 --query 'Instances[0].InstanceArn' --output text
3333
```
3434

35-
If the command returns "None" or an empty result, you need to create an IAM Identity Center instance. Replace "us-east-1" with the AWS Region where you want to create your IAM Identity Center instance.
35+
If the command returns `None` or an empty result, you need to create an IAM Identity Center instance. Replace `us-east-1` with the AWS Region where you want to create your IAM Identity Center instance.
3636

3737
```bash
3838
aws sso-admin create-instance --region us-east-1 --name "QBusinessIdentityCenter-abcd1234" --query 'InstanceArn' --output text

tuts/043-amazon-mq-gs/amazon-mq-gs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The broker creation process takes about 15-20 minutes. You can check the status
9292
aws mq describe-broker --broker-id "$BROKER_ID" --query 'BrokerState' --output text
9393
```
9494

95-
Wait until the status shows "RUNNING" before proceeding to the next step.
95+
Wait until the status shows `RUNNING` before proceeding to the next step.
9696

9797
## Step 4: Get broker connection details
9898

@@ -467,7 +467,7 @@ If you're having trouble connecting to your broker:
467467

468468
1. **Check security group rules**: Ensure that the security group allows inbound connections from your IP address to the required ports.
469469

470-
2. **Verify broker status**: Make sure the broker is in the "RUNNING" state.
470+
2. **Verify broker status**: Make sure the broker is in the `RUNNING` state.
471471

472472
3. **Check network connectivity**: Ensure that your network allows outbound connections to the broker's endpoints.
473473

tuts/044-amazon-managed-grafana-gs/amazon-managed-grafana-gs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ After creating the workspace, check its status to ensure it becomes active:
227227
aws grafana describe-workspace --workspace-id g-abcd1234
228228
```
229229

230-
Replace `g-abcd1234` with your workspace ID. The workspace status will initially be "CREATING". Wait until the status changes to "ACTIVE" before proceeding:
230+
Replace `g-abcd1234` with your workspace ID. The workspace status will initially be `CREATING`. Wait until the status changes to `ACTIVE` before proceeding:
231231

232232
```
233233
{

tuts/045-aws-iam-identity-center-gs/aws-iam-identity-center-gs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ aws sso-admin describe-account-assignment-creation-status \
156156
--account-assignment-creation-request-id "request-id-from-previous-command"
157157
```
158158

159-
Wait for the status to show "SUCCEEDED" before proceeding to the next step.
159+
Wait for the status to show `SUCCEEDED` before proceeding to the next step.
160160

161161
**Provision permission set to account**
162162

@@ -180,7 +180,7 @@ aws sso-admin describe-permission-set-provisioning-status \
180180
--provision-request-id "request-id-from-previous-command"
181181
```
182182

183-
Wait for the status to show "SUCCEEDED" before proceeding.
183+
Wait for the status to show `SUCCEEDED` before proceeding.
184184

185185
## Set up user access to applications
186186

@@ -258,7 +258,7 @@ Here are some common issues you might encounter when setting up IAM Identity Cen
258258

259259
**Issue**: Asynchronous operations don't complete as expected.
260260

261-
**Solution**: Many IAM Identity Center operations are asynchronous, including account assignments and permission set provisioning. Always check the operation status using the appropriate describe command and wait for the status to show "SUCCEEDED" before proceeding to the next step.
261+
**Solution**: Many IAM Identity Center operations are asynchronous, including account assignments and permission set provisioning. Always check the operation status using the appropriate describe command and wait for the status to show `SUCCEEDED` before proceeding to the next step.
262262

263263
**Issue**: Application creation fails with provider ARN errors.
264264

0 commit comments

Comments
 (0)