diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 184e3db..44e535f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,27 +4,23 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
@@ -46,7 +42,7 @@
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"ignore.virus.scanning.warn.message": "true",
- "last_opened_file_path": "C:/Users/jacob/PycharmProjects/GCP-Weather-Forecast",
+ "last_opened_file_path": "C:/Users/jacob/PycharmProjects/AWS Weather Forecast",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
@@ -76,6 +72,7 @@
+
@@ -101,7 +98,15 @@
1708267319084
-
+
+
+ 1709144200442
+
+
+
+ 1709144200442
+
+
@@ -121,6 +126,7 @@
-
+
+
\ No newline at end of file
diff --git a/src/cloudformation/API_to_DynamoDB.yaml b/src/cloudformation/API_to_DynamoDB.yaml
new file mode 100644
index 0000000..2cc32bd
--- /dev/null
+++ b/src/cloudformation/API_to_DynamoDB.yaml
@@ -0,0 +1,36 @@
+AWSTemplateFormatVersion: '2010-09-09'
+Resources:
+ MyLambdaFunction:
+ Type: 'AWS::Lambda::Function'
+ Properties:
+ Handler: lambda_function.handler
+ Role: arn:aws:iam::123456789012:role/your-execution-role
+ FunctionName: YourLambdaFunction
+ Runtime: python3.8
+ Code:
+ S3Bucket: your-s3-bucket
+ S3Key: your-code-package.zip
+
+ MyApi:
+ Type: 'AWS::ApiGateway::RestApi'
+ Properties:
+ Name: YourAPI
+
+ MyApiResource:
+ Type: 'AWS::ApiGateway::Resource'
+ Properties:
+ ParentId: !GetAtt MyApi.RootResourceId
+ RestApiId: !Ref MyApi
+ PathPart: your-resource
+
+ MyApiMethod:
+ Type: 'AWS::ApiGateway::Method'
+ Properties:
+ AuthorizationType: NONE
+ HttpMethod: POST
+ ResourceId: !Ref MyApiResource
+ RestApiId: !Ref MyApi
+ Integration:
+ IntegrationHttpMethod: POST
+ Type: AWS_PROXY
+ Uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MyLambdaFunction.Arn}/invocations