980 Commits

Author SHA1 Message Date
Jin
3632e0ee09
feat(AWS ALB): Recognize path as optional condition (#8571) 2020-12-11 14:04:11 +01:00
Mariusz Nowak
c0ea4c1461 feat(AWS Lambda): Basic container image support 2020-12-04 13:53:49 +01:00
Mariusz Nowak
0009b963cd refactor(AWS Lambda): Refactor to async/await 2020-12-04 13:53:49 +01:00
Mariusz Nowak
9380c702c9 refactor(Packaging): Convert to async/await 2020-12-04 13:53:49 +01:00
Mariusz Nowak
9877bc5568 refactor(AWS Lambda): Do not use capitalized var names 2020-12-04 13:53:49 +01:00
Mariusz Nowak
09231c059a fix(AWS API Gateway): Fix integration schema 2020-12-03 15:39:09 +01:00
Piotr Grzesik
c5ae9798d2
feat(AWS Lambda): Increase memory limits per changes on AWS side (#8569) 2020-12-02 13:50:19 +01:00
Ashish Sharma
ee1816772e
fix(AWS IAM): Prevent logs write access with disabled logging (#8561) 2020-12-01 10:45:16 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
Qi Xi
ffde506db7
feat(AWS SQS): Support maximumBatchingWindow (#8555) 2020-11-30 16:39:11 +01:00
Graham McGregor
06f6c6d28e
refactor: Refactor some functions to native promises (#8533) 2020-11-25 13:40:48 +01:00
Ashish Sharma
2a9b57b620
fix(AWS Deploy): Improve S3 bucket policy security (#8542) 2020-11-24 13:16:23 +01:00
Baptiste Guerin
3feafbceb5
feat(AWS HTTP API): Support metrics toggle (#8510) 2020-11-20 15:25:01 +01:00
Mariusz Nowak
4b3c3552ea test(AWS CloudFront): Improve organization, prepare for refactor 2020-11-20 12:48:52 +01:00
Mariusz Nowak
aa42b3bb89
test(AWS Lambda): Improve new tests spec 2020-11-18 16:43:08 +01:00
Mariusz Nowak
15bf606546 test(AWS IAM): Prepare background for refactor 2020-11-18 16:06:10 +01:00
Mariusz Nowak
1324a6c761 test(AWS Lambda): Prepare background for refactor 2020-11-18 16:06:10 +01:00
andreizet
04e18cbebf
fix(AWS API Gateway): Fix usagePlan.throttle handling (#8472) 2020-11-12 09:58:37 +01:00
caiobessa
d5e6a38c00
test(AWS EventBridge): Refactor tests to runServerless variant
(PR #8484)
2020-11-09 09:42:29 +01:00
Mariusz Nowak
f60fb55a0b fix: Ensure to inspect configuraiton after it's fully resolved 2020-11-06 14:51:53 +01:00
Mariusz Nowak
1b26075fb5 fix: Ensure to log deprecation at initialization stage 2020-11-03 14:10:38 +01:00
Mariusz Nowak
61f90a362d fix(AWS CloudFront): Ensure to log deprecation at initialization stage 2020-11-03 14:10:38 +01:00
Mariusz Nowak
a5a1a230a5 fix(AWS Alexa): Ensure to log deprecation at initialization stage 2020-11-03 14:10:38 +01:00
Mariusz Nowak
2b1f6f44dd refactor(AWS Alexa): Remove obsolete condition 2020-11-03 14:10:38 +01:00
Mariusz Nowak
b6d033a044 fix(AWS API Gateway): Ensure to log deprecation at initialization stage 2020-11-03 14:10:38 +01:00
Oz Weiss
61d8ee9884
feat(Config Schema): Schema for AWS s3 event (#8330) 2020-10-30 17:51:24 +01:00
Mariusz Nowak
9292ef1173 test: Fix fixture service config
It only worked because all  `provider` properties are mapped on `provider`
2020-10-27 22:09:35 +01:00
Frédéric Barthelet
479727e1f4
feat(AWS CloudFront): Switch from ForwardedValues to cache policies
(PR #8381)
2020-10-27 17:36:20 +01:00
Mariusz Nowak
2c874e22c9 refactor(Config Schema): Convert oneOf to more optimal anyOf 2020-10-16 12:30:32 +02:00
Mariusz Nowak
b0fe67d846 fix(Config Schema): Fix AWS stream event consumer schema 2020-10-16 12:30:32 +02:00
Oz Weiss
e51e0f22da
feat(Config Schema): Schema for provider props of AWS http event
(PR #8383)
2020-10-14 13:30:56 +02:00
Piotr Grzesik
c382d869a8
fix(AWS Stream): Fix support for lambdas with provisioned concurrency
(PR #8342)
2020-10-13 10:29:27 +02:00
Raul Zaldana
9303d8ecd4
feat(AWS Websocket): Support CF intrinsic functions at arn (#8335) 2020-10-12 16:58:13 +02:00
Mariusz Nowak
f1665460d4 fix(Config Schema): Fix API Gateway authorizer schema 2020-10-12 15:16:24 +02:00
Oz Weiss
c2d40ea63b
fix(AWS S3): Fix handling of lambda removal permissions (#8384) 2020-10-12 13:39:17 +02:00
Mariusz Nowak
a9b28b6d7f fix(Config Schema): Revert invalid "oneOf" based validation 2020-10-09 13:37:22 +02:00
Oz Weiss
f235041d0b
feat(Config Schema): Schema for AWS http event (#8301)
Excluding properties in `provider` namespace
2020-10-08 12:37:16 +02:00
Mariusz Nowak
fa6d72bb63 test(AWS API Gateway): Fix default override test 2020-10-07 13:36:34 +02:00
Oz Weiss
d2fb696ebd
fix(AWS API Gateway): Fix resolution of request parameters required value
(PR #8329)
2020-10-06 13:47:32 +02:00
Mariusz Nowak
5851bcadcf
fix(AWS Lambda): Revert inclusion of version hashi in env var (#8332)
This reverts commit 73c34b9f2bbe3b7c063a257a5b032b7460f263c0.

We need to revert it, as it'll break lambdas intended to back cloudFront distributions
2020-10-02 12:06:27 +02:00
Mariusz Nowak
c27f5b3e9e fix(Config Schema): Allow both arn and topicName in sns event 2020-10-02 11:37:56 +02:00
Frédéric Barthelet
a020a4a683
fix(AWS SNS): Recognize displayName as optional (#8323) 2020-10-01 18:23:28 +02:00
Brent Jackson
73c34b9f2b
fix(AWS Lambda): Ensure version hash is in all cases effective (#8310)
In some instances the version hash may change due to a change involving
CloudFormation instrisic functions, but upon resolving the functions, the
resulting lambda configuration is identical to what is currently
deployed. This causes the Lambda::Version to fail to publish since AWS
sees the lambdas as identical.

This commit embeds an environment variable onto each lambda function with
the value of the version config hash, ensuring that anytime the config
hash changes, the resulting lambda configuration will be changed,
allowing a Lambda::Version to be published.
2020-10-01 18:20:08 +02:00
Oz Weiss
4168dc1f30
feat(Config Schema): Schema for layers (#8299) 2020-10-01 17:39:51 +02:00
Mariusz Nowak
a6ff964d84 feat: Coerce primitive config values to arrays, when array is expected 2020-10-01 15:31:21 +02:00
Johannes Edelstam
5b740f6e18
feat(Config Schema): Fix cloudFront event behavior schema (#8308) 2020-10-01 14:49:00 +02:00
Frédéric Barthelet
38c204762c
feat(Config Schema): Schema for AWS provider properties (#8297) 2020-10-01 10:24:55 +02:00
Frédéric Barthelet
dd9a011f60
feat(Config Schema): Schema for provider.logs.restApi (#8309) 2020-09-30 18:55:08 +02:00
Piotr Grzesik
8c4d97211a
fix(AWS SQS): Ensure to depend on provisioned alias if needed (#8298) 2020-09-29 22:18:00 +02:00
Oz Weiss
c96b429c60
feat(Config Schema): Schema for AWS alb event (#8291) 2020-09-29 22:13:25 +02:00