We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b9c9c7 commit d6b02d1Copy full SHA for d6b02d1
1 file changed
src/index.js
@@ -49,7 +49,16 @@ class ServerlessReqValidatorPlugin {
49
// Create schema for your properties. For reference use https://github.com/ajv-validator/ajv
50
serverless.configSchemaHandler.defineFunctionEventProperties('aws', 'http', {
51
properties: {
52
- reqValidatorName: { type: 'string' },
+ reqValidatorName: {
53
+ anyOf: [
54
+ { type: 'string' },
55
+ { type: 'object',
56
+ properties: {
57
+ 'Fn::ImportValue': { type: 'string' }
58
+ }
59
+ },
60
+ ]
61
62
},
63
});
64
0 commit comments