Skip to content

Commit

Permalink
Merge branch 'release/1.10.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
DianaIonita committed Dec 7, 2022
2 parents 511e73b + f948002 commit 01579ba
Show file tree
Hide file tree
Showing 13 changed files with 1,491 additions and 94 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ You can use the `apiGatewayCaching` section ("global settings") to quickly confi

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

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.

```yml
plugins:
- serverless-api-gateway-caching
Expand All @@ -76,6 +78,7 @@ custom:
perKeyInvalidation:
requireAuthorization: true # default is true
handleUnauthorizedRequests: Ignore # default is "IgnoreWithWarning".
endpointsInheritCloudWatchSettingsFromStage: true # default is true
```

### Configuring per-endpoint settings
Expand All @@ -102,6 +105,7 @@ functions:
enabled: true
ttlInSeconds: 3600 # overrides the global setting for ttlInSeconds
dataEncrypted: true # default is false
inheritCloudWatchSettingsFromStage: false # default is true
perKeyInvalidation:
requireAuthorization: true # default is true
handleUnauthorizedRequests: Fail # default is "IgnoreWithWarning"
Expand Down
Loading

0 comments on commit 01579ba

Please sign in to comment.