Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

AWS CDK Construct for creating a CloudWatch dead man's switch for Status Page components

Notifications You must be signed in to change notification settings

PipedreamHQ/aws-cdk-status-page-dead-mans-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status Page Dead Man's Switch AWS CDK Construct

Usage

import * as cdk from '@aws-cdk/core';
import { StatusPageDeadMansSwitch } from "@pipedream/aws-cdk-status-page-dead-mans-switch"

export class DeadMansSwitchesStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    new StatusPageDeadMansSwitch(this, 'TimerWorkflowCheck', {
      statusPageComponentId: "abc123",
      outageMessage: "Timer-based Workflows are down",
      cloudwatchNamespace: "Pipedream/Workflows",
      cloudwatchMetric: "TimerWorkflowCheck",
      notificationURL: "https://pipedream.com",
    });
  }
}

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests

About

AWS CDK Construct for creating a CloudWatch dead man's switch for Status Page components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published