Skip to content

Commit

Permalink
fix: add 'prefix' to config schema (fixes #562)
Browse files Browse the repository at this point in the history
- Although not documented in the readme, there are code paths that allow prefix to be overridden via config. I'm unsure whether this was a feature that was only partially implemented, or maybe an existing feature that was broken at some point, so to be on the safe side, I'll add it to the config schema, but leave it undocumented for now.
  • Loading branch information
NoxHarmonium committed May 24, 2022
1 parent 8c8d6f1 commit 4602a63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/serverless-sns-sqs-lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export default class ServerlessSnsSqsLambda {
properties: {
name: { type: "string" },
topicArn: { $ref: "#/definitions/awsArn" },
prefix: { type: "string" },
omitPhysicalId: { type: "boolean" },
batchSize: { type: "number", minimum: 1, maximum: 10000 },
maximumBatchingWindowInSeconds: {
Expand Down

0 comments on commit 4602a63

Please sign in to comment.