
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@cdkx/aws-sns-subscriptions
Advanced tools
npm install @cdkx/aws-sns-subscriptions --save // using npm
yarn add @cdkx/aws-sns-subscriptions // using yarn
Add a SNS Topic to your stack
import { Topic } from '@aws-cdk/aws-sns';
// create topic
const myTopic = new Topic(this, 'MyTopic');
Add an slack bot enabled subscription to your topic.
import { SlackSubscription } from '@cdkx/aws-sns-subscriptions';
// add slack subscription to alongside with other subscription targets
myTopic.addSubscription(
new SlackSubscription({
channelName: 'my-channel',
})
);
Once stack has deployed, a new System Parameter resources will be made available. There add a slack bot oAuth token next to property authToken
.
Required Scopes for these token depend of level of context provided to subscription target.
When channelId
is provided, OAuthToken will only need chat:write:bot
. But if no channelId
is preset, channel id will be resolved from slack api and to do that OAuth token will need additional
channels:read
, groups:read
, im:read
, mpim:read
scopes.
FAQs
AWS SNS extended subscriptions
The npm package @cdkx/aws-sns-subscriptions receives a total of 2 weekly downloads. As such, @cdkx/aws-sns-subscriptions popularity was classified as not popular.
We found that @cdkx/aws-sns-subscriptions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.