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: cloudfront-apigw-rest-api-lambda-dynamodb-sam/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Amazon Cloudfront distribution in front of Amazon S3 and an Amazon API Gateway REST API to AWS Lambda to Amazon DynamoDB
1
+
# Amazon CloudFront distribution in front of Amazon S3 and an Amazon API Gateway REST API to AWS Lambda to Amazon DynamoDB
2
2
3
-
This pattern demonstrates a simple webform application sitting in Cloudfront and S3. The application stores data in DynamoDB via a ```POST``` request to an API Gateway which triggers a simple Lambda function.
3
+
This pattern demonstrates a simple webform application sitting in CloudFront and S3. The application stores data in DynamoDB via a ```POST``` request to an API Gateway which triggers a simple Lambda function.
4
4
5
5
Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the [AWS Pricing page](https://aws.amazon.com/pricing/) for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.
6
6
@@ -15,11 +15,11 @@ Important: this application uses various AWS services and there are costs associ
15
15
16
16
1. Create a new directory, navigate to that directory in a terminal and clone the GitHub repository:
1. From the command line, use AWS SAM to deploy the AWS resources for the workflow as specified in the template.yaml file:
25
25
```
@@ -34,7 +34,7 @@ Important: this application uses various AWS services and there are costs associ
34
34
35
35
Once you have run `sam deploy --guided` mode once and saved arguments to a configuration file (samconfig.toml), you can use `sam deploy` in future to use these defaults.
36
36
```
37
-
Stack Name [sam-app]: serverless-webform-sample
37
+
Stack Name [sam-app]: cloudfront-apigw-rest-api-lambda-dynamodb-sam
38
38
AWS Region [us-east-1]:
39
39
Parameter HTTPGetFloodRateParam [10000]:
40
40
Parameter HTTPPostFloodRateParam [1000]:
@@ -65,7 +65,7 @@ The web interface allows an end user to enter their personal details and click `
65
65
66
66
## Testing
67
67
68
-
Open the Cloudfront URL in a browser on your local machine. Fill out the form with data and click ```Submit```. Upon submitting, your browser will send a ```POST``` request to the API Gateway and trigger the Lambda to store the data in DynamoDB.
68
+
Open the CloudFront URL in a browser on your local machine. Fill out the form with data and click ```Submit```. Upon submitting, your browser will send a ```POST``` request to the API Gateway and trigger the Lambda to store the data in DynamoDB.
69
69
70
70
To view the data in DynamoDB, navigate to the DynamoDB service in the AWS console, select ```Tables``` from the left navigation pane and click on the ```serverless-webform-sample-table``` table. In the ```View Table``` page click on ```Explore Table Items``` button and scroll down to ```Items Returned``` to view the data stored in the table. This data should match the data entered in the previous step.
0 commit comments