This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BasicAWSCredentials = createObject("java", 'com.amazonaws.auth.BasicAWSCredentials').init(yourAccessKey, your | |
secretKey); | |
// turn credentials into a provider object | |
AWSCredentialsProviderObj = createObject("java", "com.amazonaws.auth.AWSStaticCredentialsProvider").init(BasicAWSCredentials); | |
// create our client | |
AWSSNSClient = createObject("java", "com.amazonaws.services.sns.AmazonSNSClientBuilder").standard().withRegion("us-east-1").withCredentials(AWSCredentialsProviderObj).build(); | |
// create/identify the topicArn, snsMessage and snsSubject text strings of what you want your topic to publish. |