212 Commits

Author SHA1 Message Date
Jacob Griswold-Moran
0d0cba8334 adds inputTransformer option to aws cloudwatchEvent events
This change allows the InputTransformer cloudformation option to be used in aws `cloudwatchEvent` event types.
2019-03-12 11:59:11 -04:00
Jacob Griswold-Moran
756dd14dc9 adds inputTransformer option to aws schedule events
This change allows the InputTransformer cloudformation option to be used in aws `schedule` event types.
2019-03-12 11:59:03 -04:00
Philipp Muens
fc2600b2d2 Update Description in tests 2019-03-07 13:36:05 +01:00
Philipp Muens
00e0524ba3 Merge branch 'master' into feat/apiGatewayDescription 2019-03-07 13:20:19 +01:00
Philipp Muens
fbd9b46ef9
Merge pull request #5351 from serverless/SQSFnJoin
Allow Fn::Join in SQS arn builder
2019-03-05 13:37:22 +01:00
Eslam A. Hefnawy
cc4bafab06 dont add websockets policies when using custom roles 2019-02-28 15:09:48 +03:00
Eslam A. Hefnawy
4fcda374f0 remove only 2019-02-27 17:34:47 +03:00
Eslam A. Hefnawy
2a8fedc2f3 added tests 2019-02-27 17:34:29 +03:00
Eslam A. Hefnawy
e7c5acf6b8 tested authorizers 2019-02-27 15:54:13 +03:00
Philipp Muens
2a075af805 Fix functionality / add tests 2019-02-27 12:23:59 +01:00
Alex DeBrie
03cc4d4a48 Allow Fn::Join in SQS arn builder 2019-02-27 12:06:32 +01:00
Eslam A. Hefnawy
c6f955ab00 added authorizer support 2019-02-26 16:44:58 +03:00
Eslam λ Hefnawy
9538caf089
Merge pull request #5443 from yahehe/master
Improves usage and documentation of SNS event sources.
2019-02-25 15:22:25 +03:00
Philipp Muens
0968f12e89 Validation if event is either http or websocket 2019-02-18 09:59:35 +01:00
Philipp Muens
bad6a4a102 Fix displaying of services with REST and WSS APIs 2019-02-18 09:54:25 +01:00
Philipp Muens
1661bf338b Add support string-based event definition 2019-02-15 14:09:36 +01:00
Philipp Muens
55036949a2 Change property name from routeKey to route 2019-02-15 12:07:07 +01:00
Philipp Muens
c2a1bff60e Add unit tests 2019-02-14 15:45:49 +01:00
Philipp Muens
ff204eb302 Add websocket endpoint to outputs / display it via info 2019-02-14 12:10:01 +01:00
Eslam A. Hefnawy
6f6f49d43e all routes working 2019-02-13 16:44:03 +03:00
Eslam A. Hefnawy
231e96045f wip - websockets support 2019-02-11 18:24:54 +03:00
pchynoweth
4c935d11e0 Fixed up linting issues 2019-02-04 10:09:55 +00:00
pchynoweth
9a25ade818 Added unit tests 2019-02-04 10:00:14 +00:00
pchynoweth
73d95c283e Fixed linting issue 2019-02-03 21:46:25 +00:00
pchynoweth
81a21744e6 Now checking if origins is empty 2019-02-03 21:09:20 +00:00
pchynoweth
968159b043 Now copying cacheControl into validated corsPreflight 2019-02-03 17:12:44 +00:00
Richard Davison
867d112470 Allow origin to be used by splitting comma separated values 2019-01-28 14:31:53 +01:00
Richard Davison
a820191a49 Fixed test 2019-01-28 12:17:46 +01:00
Richard Davison
e2563d768f Fixed typo 2019-01-28 11:49:44 +01:00
Richard Davison
3dff171b46 Remove single quoute 2019-01-28 11:17:35 +01:00
Richard Davison
d9575d424c Added test when no origin or origins is provided 2019-01-23 09:08:35 +01:00
Richard Davison
01b529af43 Provide multi origin cors 2019-01-23 08:48:52 +01:00
Daniel Schep
011b579bd3
Merge pull request #5531 from exoego/logs-compact-permission
AWS: Consolidates Lambda::Permission objects for cloudwatchLog events
2019-01-21 14:51:07 -05:00
exoego
b98afe7430 Fix lint errors. 2018-12-30 13:44:50 +09:00
exoego
6731ff3128 Add cron syntax validation that validates only number of fields. 2018-12-30 13:36:57 +09:00
exoego
6d4f12ebcf Add rate syntax validation. 2018-12-30 13:36:57 +09:00
exoego
78f85c6bc5 Correct format. 2018-12-05 19:42:25 +09:00
exoego
d7719a266b Consolidate logGroup pattern per function, not per service. 2018-12-05 19:42:25 +09:00
exoego
ef4b8c58ae Consolidate permission per function, not per service. 2018-12-05 19:42:25 +09:00
exoego
e7652a5da1 Minimize logGroup wildcard to improve security. 2018-12-05 19:42:25 +09:00
exoego
98572d7e53 Remove unused variable. 2018-12-05 19:42:25 +09:00
exoego
c216bc2656 Generate Lambda::Permission objects in which logGroup name is wildcard to reduce final policy size. 2018-12-05 19:42:25 +09:00
Daniel Cottone
601d9df12e fixing lint issue 2018-11-29 14:26:50 -06:00
vkkis
40f892b3d5 sets the description only if it's provided 2018-11-29 16:51:27 +02:00
Daniel Schep
83fb574e07
Update lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
Co-Authored-By: daniel-cottone <daniel.cottone@asurion.com>
2018-11-29 07:52:40 -06:00
Daniel Cottone
efa31ac5ef fixing variable check and adding back test 2018-11-27 14:51:02 -06:00
Daniel Cottone
1b41e1393a removing broken test 2018-11-27 12:54:53 -06:00
Daniel Cottone
e78d3cb541 Add support for API Gateway payload compression 2018-11-27 11:32:53 -06:00
vkkis
44c24b503c fix eslint 2018-11-21 11:17:14 +02:00
vkkis
3f5fa1acf5 rewrite unit tests in order to increase code coverage 2018-11-21 10:49:17 +02:00