
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@serverless/aws-sns-subscription
Advanced tools
Deploy SNS Subscription to AWS in seconds with [Serverless Components](https://github.com/serverless/components).
Deploy SNS Subscription to AWS in seconds with Serverless Components.
$ npm install -g @serverless/components
Just create a serverless.yml
file
$ touch serverless.yml
$ touch .env # your development AWS api keys
$ touch .env.prod # your production AWS api keys
the .env
files are not required if you have the aws keys set globally and you want to use a single stage, but they should look like this.
AWS_ACCESS_KEY_ID=XXX
AWS_SECRET_ACCESS_KEY=XXX
# serverless.yml
name: my-topic
stage: dev
AwsSnsSubscriptionLambda:
component: '@serverless/aws-sns-subscription'
inputs:
topic: arn:aws:sns:us-east-1:123456789012:my-topic
protocol: lambda
endpoint: arn:aws:lambda:us-east-1:123456789012:function:my-function
AwsSnsSubscriptionEmail:
component: '@serverless/aws-sns-subscription'
inputs:
topic: arn:aws:sns:us-east-1:123456789012:my-topic
protocol: email
endpoint: hello@serverless.com
AwsSnsSubscription (master)$ components
AwsSnsSubscriptionLambda › outputs:
arn: 'arn:aws:sns:us-east-1:123456789012:my-topic:95e7dbca-9e45-4e4d-84f3-66f282b89b01'
AwsSnsSubscriptionEmail › outputs:
arn: 'arn:aws:sns:us-east-1:123456789012:my-topic:2495cad9-928a-4853-84b1-fcf613df61e7'
2s › dev › AwsSnsSubscription › done
AwsSnsSubscription (master)$
Checkout the Serverless Components repo for more information.
FAQs
Deploy SNS Subscription to AWS in seconds with [Serverless Components](https://github.com/serverless/components).
We found that @serverless/aws-sns-subscription demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.