2.0.12 • Published 9 months ago

@gammarers/aws-codepipeline-execution-state-change-notification-stack v2.0.12

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

AWS CodePipeline Execution State Change Notification Stack

GitHub npm (scoped) GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

This AWS CDK Construct Stack receives all state changes of CodePipeline and sends a message to the specified notification destination when the CodePipeline is tagged with a specified tag. Therefore, you can send messages simply by adding tags without needing to configure notifications for each Pipeline.

Install

TypeScript

install by npm

npm install @gammarers/aws-codepipeline-execution-state-change-notification-stack

install by yarn

yarn add @gammarers/aws-codepipeline-execution-state-change-notification-stack

install by pnpm

pnpm add @gammarers/aws-codepipeline-execution-state-change-notification-stack

install by bun

bun add @gammarers/aws-codepipeline-execution-state-change-notification-stack

Example

import { App } from 'aws-cdk-lib';
import { RDSDatabaseAutoRunningStopStack } from '@gammarers/aws-rds-database-auto-running-stop-stack';

const app = new App();

const stack = new CodePipelineExecutionStateChangeNotificationStack(app, 'CodePipelineExecutionStateChangeNotificationStack', {
targetResource: { // required
  tagKey: 'PipelineExecutionStateChangeNotification', // required, Specify the tag key set in CodePipeline
  tagValues: ['YES'], // required, Specify the tag value set in CodePipeline
},
notifications: {
  emails: [ // optional (but not notification)
    'foo@example.com',
  ],
},
});

License

This project is licensed under the Apache-2.0 License.

2.0.12

9 months ago

2.0.11

9 months ago

2.0.10

9 months ago

2.0.7

10 months ago

2.0.9

9 months ago

2.0.8

10 months ago

2.0.6

10 months ago

2.0.5

10 months ago

2.0.3

10 months ago

2.0.4

10 months ago

2.0.2

11 months ago

2.0.1

11 months ago

2.0.0

11 months ago