Skip to content

Commit

Permalink
change properties to add type objects
Browse files Browse the repository at this point in the history
  • Loading branch information
David committed Apr 29, 2022
1 parent 7755b74 commit 0bf3f82
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions serverless-plugin/config-schema.js
Expand Up @@ -206,14 +206,23 @@ const functionConfigSchema = {
type: 'object',
properties: {
slicWatch: {
enabled: { type: 'boolean' },
alarms: {
enabled: { type: 'boolean' },
Lambda: alarmSchemas.Lambda
},
dashboard: {
type: 'object',
properties: {
enabled: { type: 'boolean' },
Lambda: widgetSchemas.Lambda
alarms: {
type: 'object',
properties: {
enabled: { type: 'boolean' },
Lambda: alarmSchemas.Lambda
}
},
dashboard: {
type: 'object',
properties: {
enabled: { type: 'boolean' },
Lambda: widgetSchemas.Lambda
}
}
}
}
}
Expand Down

0 comments on commit 0bf3f82

Please sign in to comment.