Skip to main content

sns-notification-opsgenie

Project description

SNS Notification OpsGenie

This repository contains AWS CDK constructs which can be used for sns to notify to Opsgenie using projen + jsii and publishing it to npm and pypi repositories..

Table of Contents

About projen

projen is a tool to write your project configuration using code instead of managing it yourself.projen synthesizes project configuration files such as package.json, tsconfig.json, .gitignore, GitHub Workflows, eslint, jest, etc from a well-typed definition written in JavaScript.

About jsii

jsii allows code in any language to naturally interact with JavaScript classes. It is the technology that enables the AWS CDK to deliver polyglot libraries from a single codebase!

Steps For using a sns-notification-opsgenie in your cdk Construct

  1. Install the package based on your language:

    If you are using python, use below comand in your terminal:

     pip install sns-notification-opsgenie
    

    If you are using Typescript, use below comand in your terminal:

     npm i sns-notification-opsgenie
    
  2. Next,import the package in your cdk construct based on your language:

    for Python:

     from sns-notification-opsgenie import SnsNotifyOpsgenie
    

    for Typescript:

     import { SnsNotifcationOpsgenie } from sns-notification-opsgenie
    
  3. Use the method getOpgsgenieTopicArn by passing AWS AcccountId, OpsGenie Priority and optionally AWS Region. In case you do not pass any region, default region will be eu-west-1.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sns-notification-opsgenie-1.1.0.tar.gz (30.2 kB view hashes)

Uploaded Source

Built Distribution

sns_notification_opsgenie-1.1.0-py3-none-any.whl (28.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page