2,985 questions
0
votes
1
answer
181
views
Error while creating AWS::SNS:Subscription through Cloudformation on LocalStack
Current Behavior
An error occurs while using
awslocal cloudformation deploy --template-file infrastructure.yaml --stack-name teststack
on this infrastructure.yaml
Parameters:
Environment:
...
1
vote
1
answer
265
views
AWS Lambda triggered by CloudWatch Log Event not receiving event object properly
I'm new to AWS. I'm writing a lambda function in C# to monitor the failed delivery of SNS messages. I encountered an issue where the first parameter passed to the FunctionHandler is empty (not null, ...
0
votes
2
answers
1k
views
AWS CDK - Nested SNS Subscription filter policy
I have implemented a Subscription Filter Policy in my test account in SNS to only send data coming in a particular subfolder in S3 to my SQS queue. This is working exactly as expected
{
"...
-1
votes
1
answer
624
views
Lambda function Cannot read properties of undefined (reading 'bucket')
Lambda not getting event details on s3 notification object create with SNS topic
Lambda not getting event details on s3 notification object create with SNS topic
I have created an AWS SNS topic and ...
0
votes
0
answers
646
views
Connecting to AWS SNS from Azure Logic Apps
All,
One of our vendor is moving to AWS from Azure we are now required to connect to their AWS SNS and read the messages from the Topic. We would like to use the same Azure Logic App we have been ...
0
votes
1
answer
360
views
Parsing SNS event Containing S3 events in Lambda
I required multiple lambdas to subscribe to s3 bucket events, this is not supported so the idea is to introduce the SNS instead.
The flow will be S3Event -> SNS -> (X Number of LAMBDA consumers)
...
0
votes
1
answer
418
views
How can I send email notification via SNS using cloud custodian
I am trying to configure an custodian policy which will do some basic filtering and send the details of the match to specific user via mail(SNS).
I can able to send the email to the user but I couldn'...
1
vote
1
answer
987
views
How do add a resource policy for sns to a sqs with serverless framework
I have problems assigning my sqs queue the correct policy so that any sns topic can send a message to it whenever this queue gets subscribed to it. I tried to use UpdatePolicy and Metadata in ...
2
votes
1
answer
185
views
How can I verify SNS messages in a server-side Swift HTTPS endpoint?
Amazon provides documentation for verifying that SNS messages routed to an HTTP/HTTPS endpoint are valid. Using Vapor and Swift on the server, along with swift-certificates and swift-crypto, I ...
1
vote
0
answers
352
views
How to whitelist HTTP(S) requests from SNS?
I want to subscribe my application's HTTP(S) endpoint to SNS. But my application restricts which IP addresses can make requests to it.
Update: My application is running in AWS VPC and restricts IP ...
1
vote
2
answers
789
views
How to resolve why attempting to publish an SNS message from a Lambda function that is connected to a VPC hangs
I have a very simply Lambda function:
import boto3
def lambda_handler(event, context):
snsTopicArn="arn:aws:sns:us-west-2:REDACTED:keiths-test-topic"
snsClient = boto3.client('sns')
...
0
votes
2
answers
2k
views
AWS SQS > EventBridge Pipe > SNS > SQS looses JSON formating
Working in .NET and I have some SQS Queues that are processing Application events around reports.
At one point a report PDF is built and publishes report metadata such as location and ReportId to a ...
1
vote
1
answer
214
views
Need Help Regarding AWS SNS Message Retries
How do I add message retry policies in my SNS subscription? I read some documentation and I think it is the deliveryPolicy but how do I implement it in my cloudformation code below.
...
1
vote
1
answer
102
views
Delphi Appercept AWS SDK - SNS attributes
Trying to publish to an SNS topic with one or more attributes.
Without attributes all works fine, but after adding an attribute we get a 400 response with bad request.
below three ways we tried to add ...
1
vote
1
answer
774
views
SQS subscribed to multiple SNS with different data models
Context
I have 2 SNS both publishing messages with different data model.
I want a lambda to get these messages and do some processing.
Creating a SQS between the SNS and Lambda is mandatory.
What i ...
0
votes
0
answers
323
views
Trying to send AWS SNS json message in Postman
When I try to send a POST request via Postman for publishing a message to AWS SNS, I get a "400 Bad Request, the request cannot be fulfilled due to bad syntax".
In the "publish" ...
0
votes
1
answer
703
views
How to send large number of mails (more than sending rate limit) at a time in AWS SES
I have an AWS SES service with a sending rate of 100 mails per second. Our application sends emails to all students within educational institutes. There's a need to distribute a substantial volume of ...
-1
votes
1
answer
554
views
Unable to send message to USA numbers using Amazon SNS
This is my code for sending a message using Amazon SNS.
It is working fine when I tried with Indian numbers but when I tried with American numbers it failed. I want to fix it.
async sendMessage(testId:...
0
votes
1
answer
142
views
JSON Error in Lambda Function - Setting up a SMS Registration System with AWS Pinpoint
I'm attempting to setup an SMS Registration System with AWS Pinpoint and SNS. However, I can't get past the creation of the Lambda function following their instructions (example).
I've followed the ...
0
votes
1
answer
166
views
Unable to publish to SNS Topic from Lambda inside private subnet of VPC
I have a lambda function, which requires access to EC2 running on the private subnet of my VPC. So I associated the lambda with private subnet of the VPC. My lambda also need to publish to an SNS ...
1
vote
0
answers
108
views
How to create an automated retry mechanism from a DLQ to AWS SNS having AWS Lambda as a target
We have an SNS having AWS Lambda as a target, and there's a DLQ associated with the SNS for handling Lambda throttling or other errors. We want to implement an automated retry system that resends the ...
1
vote
1
answer
347
views
create SNS topic in specific region
I am trying to create SNS topic in a specific region using cloudformation template.
SNSTopic:
Type: AWS::SNS::Topic
Properties:
FifoTopic: True
TopicName: <topicname>.fifo
...
0
votes
1
answer
67
views
Does SigningCertURL of AWS SNS
I have to whitelist urls used in my application.
AWS SNS notification messages contains few urls like signing, subscribe, unscubscribe.
So I need to check whether or not AWS sns SigningCertURL changes ...
0
votes
1
answer
150
views
Does Amazon SNS support publishing SMSes in batch to different mobile numbers?
I understand that Amazon SNS supports publishing messages in batch to SNS topics. I wonder that the same thing can be done for publishing SMSes to mobile numbers?
My use case is to send out unique SMS ...
0
votes
1
answer
1k
views
terraform, aws_sns_topic_policy use here doc for policy and interpolate variable inside heredoc
I wanted to update my sns target policy using terraform, below is my code. But my terraform plan is failing with below error.
Expected the start of an expression, but found an invalid expression token....