public interface SnsDestination extends Destination
Modifier and Type | Method and Description |
---|---|
String |
getAccessKey() |
String |
getAccessSecret() |
String |
getTopicArn()
The Amazon Resource Name (ARN) of the Simple Notification Service (SNS) topic name.
|
static SnsDestination |
of(AwsCredentials awsCredentials,
String topicArn)
Creates a new sns destination with the given credentials and topic.
|
getType
String getTopicArn()
String getAccessKey()
String getAccessSecret()
static SnsDestination of(AwsCredentials awsCredentials, String topicArn)
awsCredentials
- the AWS credentialstopicArn
- the ARN (Amazon Resource Name) of the SNS (Simple Notification Service) destination topic