Mariusz Nowak
fbf99fa2ab
feat(AWS HTTP API): JWT authorizers support
2020-02-18 14:59:28 +13:00
Mariusz Nowak
1dcc53be4c
refactor(AWS HTTP API): Nest routeTargetData in config
2020-02-18 14:59:28 +13:00
coyoteecd
9b701a4056
feat(AWS APIGW): Support logs.restApi.roleManagedExternally ( #7333 )
2020-02-18 13:59:57 +13:00
Mariusz Nowak
ca69387285
feat(AWS HTTP API): CORS configuration
2020-02-17 14:25:19 +13:00
Mariusz Nowak
dfeca8e622
test(AWS HTTP API): Rename fixture
2020-02-17 14:25:19 +13:00
Mariusz Nowak
44c2342aeb
fix(AWS HTTP API): Publish to default stage
...
Framework for each stage creates new API,
therefore there's no point in generating a stage
2020-02-17 13:41:09 +13:00
Mariusz Nowak
ed4b6efe69
test(AWS HTTP API): Fix typo
2020-02-17 13:41:09 +13:00
Zac Charles
9eba2187f9
feat: Support Kinesis Enhanced Fan-out (Consumer) streams ( #7320 )
2020-02-14 13:09:27 +13:00
Geoff Baskwill
7abb23edc8
feat: Support managedExternally option for authorizers ( #7327 )
...
There are use cases where an API creator does not have permissions to
add permissions to the custom authorizer lambda; one example is when
the custom authorizer lambda exists in a separate AWS account. In these
cases, we need to be able to omit the `AWS::Lambda::Permission` resource
from the stack.
This change adds the `managedExternally` attribute to the `authorizer`.
When `managedExternally` is `true`, the stack will not create the
`AWS::Lambda::Permission` resource.
**Important note:** The permission does still need to be created before
the stack is deployed, or creating the authorizer will fail.
2020-02-13 12:20:16 +13:00
Thomas Schaaf
09466b5a17
feat: Support provider.rolePermissionsBoundary to set IAM boundary ( #7319 )
2020-02-13 09:43:24 +13:00
Philipp Muens
c05dcb3432
fix: Limited permission for authorizers
2020-02-11 12:52:03 +01:00
Mariusz Nowak
69170d09a8
feat(AWS HTTP API): Initial basic routes configuration support
2020-02-05 12:31:43 +01:00
Mariusz Nowak
3a6865db7f
refactor(AWS Lambda): Generalize target alias resolution
2020-02-05 12:31:43 +01:00
Richard Davison
382c0bfc21
feat: Support rich and reusable S3 buckets configuration ( #7156 )
2020-01-31 16:12:37 +04:00
Sydney Kereliuk
ea4ac262ea
feat: Support destinations config on stream events ( #7262 )
2020-01-30 23:17:11 +04:00
Petr Reshetin
9f0131fedf
fix: Ensure deterministic WebSockets deployment id ( #7248 )
...
To support skip of deployments when no changes are detected
2020-01-29 16:09:43 +04:00
tcastelli
4f273785f4
feat: Support RedrivePolicy configuration on SNS events ( #7239 )
2020-01-24 13:05:51 +01:00
Mariusz Nowak
8814671435
fix(AWS APIGW): Fix default resource policy configuration
...
Regression introduced with #7138
Fixes #7194 #7211
2020-01-14 12:56:23 +01:00
Mariusz Nowak
5e63cee340
fix(AWS Lambda): Do not break permission resource
...
Fixes #7189
2020-01-09 18:28:28 +01:00
Mariusz Nowak
77b92686a7
refactor(AWS Lambda): Do not deep merge when not necessary
2020-01-09 18:28:28 +01:00
Mariusz Nowak
cbf8c74c6d
refactor(AWS Lambda): Resolve deep value once
2020-01-09 18:28:28 +01:00
Mariusz Nowak
27cda47cd4
test(AWS Lambda): Improve coverage
...
Expose #7189
2020-01-09 18:28:28 +01:00
Mariusz Nowak
91f1d2f203
refactor(AWS Lambda): Ensure natural function reference when no alias
2020-01-09 18:28:28 +01:00
Mariusz Nowak
8932307dce
test: Ensure to generate tmp files in tmp dir
2020-01-09 14:16:34 +01:00
Artur Grzybowski
9591d5a232
feat: Enhance configuration options of cloudFront event ( #7170 )
...
Fixes #7151
Addresses partially #6843 and #6785
2020-01-09 14:07:33 +01:00
Christian
560ceee5b3
feat: Support BisectBatchOnFunctionError option on event streams ( #7105 )
2020-01-07 15:14:34 +01:00
maafk
3236adb040
fix: Remove hard-coded AWS partitions ( #7175 )
2020-01-07 14:51:08 +01:00
Mariusz Nowak
4821ad21a5
fix(AWS Lambda): Remove AWS issue workaround
...
Issue was fixed on AWS side, and by next week it should be fixed for
gov-cloud regions.
Still in a meantime other AWS issue emerged,
An "A conflicting deployment is in progress." error,
Which happens only when workaround in question is involved
Fixes #7137
2020-01-03 14:17:03 +01:00
b_d
e662a91d92
fix(AWS APIGW): Fix handling of removal of resourcePolicy setting
...
Fixes #6789
2019-12-27 21:04:07 +01:00
Mariusz Nowak
2995f8fef9
fix(AWS APIGW): Fix handling of provisionedConcurrency: 0 setting
...
Fixes #7133
2019-12-24 00:26:37 +01:00
Mariusz Nowak
b05d5bcce3
fix(AWS APIGW): Fix Rest API id detection when no API GW involved
...
Regression introduced with #7126
2019-12-23 16:10:59 +01:00
Mariusz Nowak
dfa0967ecf
fix(AWS APIGW): Ensure to apply API GW stage settings with no endpoints
...
Fixes #7036
2019-12-23 13:58:33 +01:00
Mariusz Nowak
4a947b215c
fix(AWS Lambda): Fix CloudWatch logs creation access
...
Fixes #6241
Closes #6692
2019-12-23 13:58:33 +01:00
Mariusz Nowak
38f6ac125e
fix(AWS APIGW): Ensure to point provisioned version
...
Addresses #7059
2019-12-23 13:58:33 +01:00
Mariusz Nowak
3210a94ef9
fix(AWS Lambda): Workaround AWS issue related to alias redeployments
...
Addresses #7059
2019-12-23 13:58:32 +01:00
Mariusz Nowak
eaf9b6117f
fix(AWS Lambda): Fix provisioned concurrency configuration
...
- So it works with multiple lambda versions
- “internal error” is avoided on change of provisioned
config configuration
Addresses #7059
2019-12-23 13:58:32 +01:00
Mariusz Nowak
3e2f59e27c
refactor(AWS Lambda): Resolve object once
2019-12-23 13:58:32 +01:00
Mariusz Nowak
388c2993f0
refactor(AWS APIGW): Rely on object destructuring
2019-12-23 13:58:32 +01:00
Mariusz Nowak
cf5497198b
refactor(AWS Lambda): Improve var name
2019-12-23 13:58:32 +01:00
Mariusz Nowak
95a397d731
refactor(AWS Lambda): Improve variables naming
2019-12-23 13:58:31 +01:00
Mariusz Nowak
271499777d
refactor(AWS Lambda): Rely on more reliable Object.assign
...
_.merge is deep merge, and may introduce unexpected outcome
2019-12-23 13:58:31 +01:00
Mariusz Nowak
6af76ed237
refactor(AWS APIGW): Convert trailing arguments into options
2019-12-23 13:58:31 +01:00
Mariusz Nowak
950036157d
fix: Ensure necessary IAM role for handling existing cognito pools
...
Fixes #6579
2019-12-20 10:34:07 +01:00
Mariusz Nowak
8148cf2cac
fix: Support differet AWS partitions
2019-12-20 10:34:07 +01:00
Mariusz Nowak
fc74c287f6
fix: Fix AWS partition reference in APIGW CloudWatch role setup
...
Addresses issue mentioned in #7100
2019-12-18 09:37:17 +01:00
Tuomas Peippo
f9b6507825
feat: Support CF instructions in awsKmsKeyArn setting ( #7083 )
2019-12-12 15:06:53 +01:00
Mariusz Nowak
1e87d5856d
test: Upgrade to @serverless/test v3
2019-12-12 14:27:40 +01:00
Mariusz Nowak
06cf6ab257
refactor: Gurantee to resolve with promise
2019-12-09 11:59:22 +01:00
Mariusz Nowak
3195e5e98f
fix: Fix provisioned concurrency support
...
So it doesn't leave outdated versions with configured concurrency
Fixes #7059
2019-12-09 11:59:22 +01:00
Mariusz Nowak
006af9e8f5
refactor: Cleanup conditional
2019-12-09 11:59:21 +01:00