aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorSubodh Ranadive <subodh.ranadive@ekzero.com>2021-03-04 15:15:46 +0530
committerSubodh Ranadive <subodh.ranadive@ekzero.com>2021-03-24 15:30:31 +0530
commite290a9f460b5e364aa7cf020aaadc874c5fc282a (patch)
tree8d78e9714aab0c1a858a1935733a76a76942b8c3 /src/main/java/org/traccar/config
parent49b8cdc68d4ea2ab2e93e6d9d1622f3e828a7776 (diff)
downloadtrackermap-server-e290a9f460b5e364aa7cf020aaadc874c5fc282a.tar.gz
trackermap-server-e290a9f460b5e364aa7cf020aaadc874c5fc282a.tar.bz2
trackermap-server-e290a9f460b5e364aa7cf020aaadc874c5fc282a.zip
linting fixed
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index d2e5bbd99..937510f10 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -690,23 +690,31 @@ public final class Keys {
/**
* AWS Access Key with SNS permission.
*/
- public static final ConfigKey<String> SMS_AWS_ACCESS = new ConfigKey<>(
- "sms.aws.access",
+ public static final ConfigKey<String> AWS_ACCESS_KEY = new ConfigKey<>(
+ "aws.access",
Collections.singletonList(KeyType.GLOBAL));
/**
* AWS Secret Access Key with SNS permission.
*/
- public static final ConfigKey<String> SMS_AWS_SECRET = new ConfigKey<>(
- "sms.aws.secret",
+ public static final ConfigKey<String> AWS_SECRET_KEY = new ConfigKey<>(
+ "aws.secret",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
+ * SNS Enable switch.
+ * Use 'enable' to send message with SNS or 'disable' to stop using SNS
+ */
+ public static final ConfigKey<String> AWS_SNS_ENABLED = new ConfigKey<>(
+ "aws.sns.enabled",
Collections.singletonList(KeyType.GLOBAL));
/**
* AWS Region for SNS service.
* Make sure to use regions that are supported for messaging.
*/
- public static final ConfigKey<String> SMS_AWS_REGION = new ConfigKey<>(
- "sms.aws.region",
+ public static final ConfigKey<String> AWS_REGION = new ConfigKey<>(
+ "aws.region",
Collections.singletonList(KeyType.GLOBAL));
/**