Class SnsPublisher

java.lang.Object
gov.usgs.util.DefaultConfigurable
gov.usgs.earthquake.aws.SnsPublisher
All Implemented Interfaces:
EventPublisher, Configurable

public class SnsPublisher extends DefaultConfigurable implements EventPublisher
  • Field Details

  • Constructor Details

    • SnsPublisher

      public SnsPublisher(software.amazon.awssdk.regions.Region region, String topicArn, software.amazon.awssdk.services.sns.SnsClient snsClient)
      Configurable SNS publisher.
      Parameters:
      region - AWS region where the SNS topic is.
      topicArn - The ARN of the target SNS topic.
  • Method Details