Skip to content

Commit 01579ba

Browse files
committed
Merge branch 'release/1.10.0'
2 parents 511e73b + f948002 commit 01579ba

13 files changed

+1491
-94
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ You can use the `apiGatewayCaching` section ("global settings") to quickly confi
6363

6464
Cache `clusterSize` can only be specified under global settings, because there's only one cluster per API Gateway stage.
6565

66+
The setting `endpointsInheritCloudWatchSettingsFromStage` makes sure that settings like `Log Level` and whether to `Enable detailed CloudWatch metrics` are copied over from the stage to each endpoint's settings. It is `true` by default.
67+
6668
```yml
6769
plugins:
6870
- serverless-api-gateway-caching
@@ -76,6 +78,7 @@ custom:
7678
perKeyInvalidation:
7779
requireAuthorization: true # default is true
7880
handleUnauthorizedRequests: Ignore # default is "IgnoreWithWarning".
81+
endpointsInheritCloudWatchSettingsFromStage: true # default is true
7982
```
8083

8184
### Configuring per-endpoint settings
@@ -102,6 +105,7 @@ functions:
102105
enabled: true
103106
ttlInSeconds: 3600 # overrides the global setting for ttlInSeconds
104107
dataEncrypted: true # default is false
108+
inheritCloudWatchSettingsFromStage: false # default is true
105109
perKeyInvalidation:
106110
requireAuthorization: true # default is true
107111
handleUnauthorizedRequests: Fail # default is "IgnoreWithWarning"

0 commit comments

Comments
 (0)