I've scoured the AWS documentation to see if there is a a way to get the SMS delivery log via code, but i'm at a miss, I can get the logs via cloud watch but I want to get them in code so if there is a failure ( like delivery.providerResponse
Unknown error attempting to reach phone) I can dequeue the number
this is my code for sending texts, it gets a response code OK all the time even if i've hit my credit limit, th
Two questions:
- Is it possible for a lambda to subscribe to a kinesis topic and an SNS topic? For example, your handler method is defined as:
public void handleRequest(Object obj, Context cxt)
. Would it then be possible to cast obj
into a KinesisEvent
or SNSEvent
?
- If I wanted all instances of a lambda to receive some update, would SNS be appropriate fo
I'm trying to describe a minimal infrastructure containing an SNS and a lambda.
When a message is published on the SNS, with a specific "type" attribute, the lambda handler is triggered.
I'm using an serverless offline sns example, which I tweaked a bit to add a filter policy.
Here is the part I tweaked i
Unable to refer to all SNS actions with the * in CDK.
const MyTopicPolicy = new sns.TopicPolicy(this, 'MyTopicSNSPolicy', {
topics: [MyTopic],
});
MyTopicPolicy.document.addStatements(new iam.PolicyStatement({
sid: "0",
actions: ["sns:*"],
principals: [new iam.AnyPrincipal()]
resour
I'm working on AWS SNS Topics. I need to add more than one email address in the endpoint field as seen in the image below.
I want to add for ex. - helloworld@gmail.com, helloworld@yahoo.com and so on. How do I specify multiple email addresses in the endpoint field?

I have a variable called $TargetEnv. Can I refer it under SNS Message Attribute because it is printing "$TargetEnv" as a result and not its assigned value.
aws sns publish --topic-arn arn:aws:sns:us-east-1:$($env:SNSAccountId):deployment_alerts --message $coreCodeMessage --subject $subject --message-attributes '{\"TargetEnv\" : {\"DataType\":\"String\", \"StringValue