Use case description
It'll be nice to have sns event fully covered by schema validation
Proposed solution
Follow up to #6562, with which only schema placeholder for event was configured.
Define schema of all sns event properties
Should be done directly in: lib/plugins/aws/package/compile/events/sns/index.js:
|
// TODO: Complete schema, see https://github.com/serverless/serverless/issues/8035 |
|
this.serverless.configSchemaHandler.defineFunctionEvent('aws', 'sns', { |
|
anyOf: [{ type: 'string' }, { type: 'object' }], |
|
}); |
Use case description
It'll be nice to have
snsevent fully covered by schema validationProposed solution
Follow up to #6562, with which only schema placeholder for event was configured.
Define schema of all
snsevent propertiesShould be done directly in:
lib/plugins/aws/package/compile/events/sns/index.js:serverless/lib/plugins/aws/package/compile/events/sns/index.js
Lines 14 to 17 in d403d9c