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

1.2.11 • Public • Published

AWS CodePipeline Execution 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-codepipeline-execution-state-change-detection-event-rule

install by yarn

yarn add @gammarers/aws-codepipeline-execution-state-change-detection-event-rule

install by pnpm

pnpm add @gammarers/aws-codepipeline-execution-state-change-detection-event-rule

install by bun

bun add @gammarers/aws-codepipeline-execution-state-change-detection-event-rule

Example

import { CodePipelineExecutionStateChangeDetectionEventRule } from '@gammarers/aws-codepipeline-execution-state-change-detection-event-rule';

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-rule',
  targets: new targets.LambdaFunction(fn),
});

License

This project is licensed under the Apache-2.0 License.

Dependents (2)

Package Sidebar

Install

npm i @gammarers/aws-codepipeline-execution-state-change-detection-event-rule

Weekly Downloads

308

Version

1.2.11

License

Apache-2.0

Unpacked Size

150 kB

Total Files

7

Last publish

Collaborators

  • yicr