@awsless/awsless 0.0.43 → 0.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.MD CHANGED
@@ -13,6 +13,7 @@
13
13
  # Features
14
14
 
15
15
  - Domains
16
+ - Sites
16
17
  - Functions
17
18
  - Database
18
19
  - Tables
@@ -133,7 +134,8 @@ We use AWS SNS to provide serverless pubsub topics.
133
134
  ```js
134
135
  {
135
136
  stacks: [{
136
- topics: {
137
+ topics: [ 'TOPIC_NAME' ],
138
+ subscribers: {
137
139
  TOPIC_NAME: 'topic-consumer.ts',
138
140
  }
139
141
  }]
@@ -176,7 +178,7 @@ We use AWS Event Bridge to provide serverless cron jobs.
176
178
 
177
179
  ## HTTP
178
180
 
179
- We use AWS ELB to provide a REST HTTP API.
181
+ We use AWS ELB to provide a HTTP API.
180
182
 
181
183
  ```js
182
184
  {
@@ -191,6 +193,23 @@ We use AWS ELB to provide a REST HTTP API.
191
193
  }
192
194
  ```
193
195
 
196
+ ## REST
197
+
198
+ We use AWS ApiGatewayV2 to provide a serverless REST API.
199
+
200
+ ```js
201
+ {
202
+ stacks: [{
203
+ rest: {
204
+ REST_API_NAME: {
205
+ 'GET /posts/{id}': 'get-posts.ts',
206
+ 'DELETE /posts/{id}': 'delete-post.ts',
207
+ }
208
+ }
209
+ }]
210
+ }
211
+ ```
212
+
194
213
  ## GraphQL
195
214
 
196
215
  We use AWS AppSync to provide a serverless GraphQL API.