# amplify-slack-app

> Slack App for AWS Amplify

Latest version **1.1.1** (published 2023-01-06) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install amplify-slack-app
pnpm add amplify-slack-app
yarn add amplify-slack-app
bun add amplify-slack-app
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2023-01-06 |
| First published | 2022-08-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 663.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Masahiko Murakami |
| Maintainers | fossamagna |
| Keywords | aws, amplify, lambda, nodejs, slack, bot |

## Links

- npm: https://www.npmjs.com/package/amplify-slack-app
- Repository: https://github.com/fossamagna/amplify-category-console-notification
- Homepage: https://github.com/fossamagna/amplify-category-console-notification#readme
- Issues: https://github.com/fossamagna/amplify-category-console-notification/issues
- npm.io page: https://npm.io/package/amplify-slack-app

## Dependencies (2)

- [@slack/bolt](https://npm.io/package/@slack/bolt.md) ^3.9.0
- [@aws-sdk/client-amplify](https://npm.io/package/@aws-sdk/client-amplify.md) ^3.50.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2023-01-06
- 1.1.0 — 2022-08-26
- 1.0.0 — 2022-08-18

## README

# amplify-slack-app

Amplify Slack App gives you what's happening on AWS Amplify Console from Slack channel.

With Amplify Slack App, you can:
* Receive notifications build result of Amplify Console
* Run Redeploy and Cancel of Amplify Console Job from Slack
* Open a job page on AWS Management Console
* Open deployed web app with Amplify Console Job

## Install

```sh
npm install amplify-slack-app --save
```
or
```sh
yarn add amplify-slack-app
```

## Usage

### Create an `index.js` with the following contents as Lambda handler

```ts
import { AmplifyConsoleSlackApp } from "amplify-slack-app";
import { LogLevel } from "@slack/bolt";

const app = new AmplifyConsoleSlackApp({
  signingSecret: process.env.SLACK_SIGNING_SECRET!,
  token: process.env.SLACK_BOT_TOKEN!,
  defaultChannel: process.env.SLACK_DEFAULT_CHANNEL!,
  logLevel: LogLevel.DEBUG,
});

export const handler = app.createHandler();
```

### Setup application as Slack App

Amplify Slack App makes use of OAuth to post messages to your Slack workspace. Follow our [setup guide](./docs/SETUP.md) for authenticating with Slack.

---
_Source: https://npm.io/package/amplify-slack-app · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
