MCPcopy Index your code
hub / github.com/aws-samples/eb-java-scorekeep / createSubscription

Method createSubscription

src/main/java/scorekeep/Sns.java:28–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 * Create an SNS subscription.
27 */
28 public static void createSubscription() {
29 String topicarn = System.getenv("NOTIFICATION_TOPIC");
30 String emailaddress = System.getenv("NOTIFICATION_EMAIL");
31 SubscribeRequest subRequest = new SubscribeRequest(topicarn, "email", emailaddress);
32 snsclient.subscribe(subRequest);
33 }
34
35}

Callers 1

WebConfigClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected