aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/admin.rnc
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-02-20 10:13:30 +0100
committerGitHub <noreply@github.com>2020-02-20 10:13:30 +0100
commit6b2254c82538ffcf9c67696e4273c99bebf62b25 (patch)
tree0a72c60d6749a49eab5eb00faadddcd76b379507 /config-model/src/main/resources/schema/admin.rnc
parent6a39f2c585e08d64122f58e1a5546b6cd999dcb7 (diff)
parent66cefb721e2e63871430357e7a0ac1e8f4cf0b5d (diff)
Merge pull request #12261 from vespa-engine/gjoranv/cloudwatch-consumer-syntax
Gjoranv/cloudwatch consumer syntax
Diffstat (limited to 'config-model/src/main/resources/schema/admin.rnc')
-rw-r--r--config-model/src/main/resources/schema/admin.rnc17
1 files changed, 16 insertions, 1 deletions
diff --git a/config-model/src/main/resources/schema/admin.rnc b/config-model/src/main/resources/schema/admin.rnc
index 7a3e2916f94..055f57dd7c0 100644
--- a/config-model/src/main/resources/schema/admin.rnc
+++ b/config-model/src/main/resources/schema/admin.rnc
@@ -82,10 +82,25 @@ Metrics = element metrics {
element metric {
attribute id { xsd:Name } &
attribute display-name { xsd:Name }?
- }*
+ }* &
+ Cloudwatch?
}+
}
+Cloudwatch = element cloudwatch {
+ attribute region { xsd:Name } &
+ attribute namespace { xsd:Name } &
+ (
+ (
+ element access-key-name { xsd:Name } &
+ element secret-key-name { xsd:Name }
+ )
+ |
+ element profile { xsd:Name }
+ )?
+
+}
+
ClusterControllers = element cluster-controllers {
attribute standalone-zookeeper { xsd:string }? &
element cluster-controller {