@gammarers/aws-codesuite-state-change-detection-event-rules
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

AWS CodeSuite State Change Detection Event Rule

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

View on Construct Hub

This an AWS CodePipeline execution state change detection event rule

Install

TypeScript

install by npm

npm install @gammarers/aws-codesuite-state-change-detection-event-rules

install by yarn

yarn add @gammarers/aws-codesuite-state-change-detection-event-rules

install by pnpm

pnpm add @gammarers/aws-codesuite-state-change-detection-event-rules

install by bun

bun add @gammarers/aws-codesuite-state-change-detection-event-rules

Example

import { CodePipelineExecutionStateChangeDetectionEventRule } from '@gammarers/aws-codesuite-state-change-detection-event-rules';

const fn = new lambda.Function(this, 'MyFunc', {
  runtime: lambda.Runtime.NODEJS_LATEST,
  handler: 'index.handler',
  code: lambda.Code.fromInline(`exports.handler = handler.toString()`),
});

const rule = new CodePipelineExecutionStateChangeDetectionEventRule(stack, 'CodePipelineStateChangeDetectionEventRule', {
  ruleName: 'example-codepipeline-state-change-detection-event-rules',
  targets: new targets.LambdaFunction(fn),
});

License

This project is licensed under the Apache-2.0 License.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.1
72latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.1
72
2.1.0
36
2.0.7
6
2.0.6
2
2.0.5
0
2.0.4
1
2.0.3
0
2.0.2
0
2.0.1
0
2.0.0
0

Package Sidebar

Install

npm i @gammarers/aws-codesuite-state-change-detection-event-rules

Weekly Downloads

117

Version

2.1.1

License

Apache-2.0

Unpacked Size

159 kB

Total Files

9

Last publish

Collaborators

  • yicr