We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b4cb9e commit 8bc292bCopy full SHA for 8bc292b
3 files changed
cloudformation/lambda-base.yaml
src/main/java/za/co/prescient/Constants.java
@@ -0,0 +1,6 @@
1
+package za.co.prescient;
2
+
3
+public class Constants {
4
5
+ public static final String PARAM_ENDPOINT = "endpoint";
6
+}
src/main/java/za/co/prescient/Utils.java
@@ -17,6 +17,7 @@ public static void process(SNSEvent.SNSRecord record) {
17
18
public static void process(SQSEvent.SQSMessage sqsMessage) {
19
System.out.println("Processing: " + sqsMessage.getBody());
20
+ System.out.println("Endpoint = " + System.getenv(Constants.PARAM_ENDPOINT));
21
}
22
23
public static void process(S3EventNotification s3EventNotification) {
0 commit comments