2.2.7 • Published 5 months ago
@gammarers/aws-codesuite-state-change-detection-event-rules v2.2.7
AWS CodeSuite State Change Detection Event Rule
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
CodePipeline Pipeline Execution State Change Detection Event Rule Handling
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),
});
CodePipeline Stage Execution State Chagen Detection Event Rule Handling
import { CodePipelineStageExecutionStateChangeDetectionEventRule } 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 CodePipelineStageExecutionStateChangeDetectionEventRule(stack, 'CodePipelineStageExecutionStateChangeDetectionEventRule', {
targets: new targets.LambdaFunction(fn),
});
License
This project is licensed under the Apache-2.0 License.
2.1.18
7 months ago
2.1.19
7 months ago
2.2.1
6 months ago
2.1.2
11 months ago
2.2.0
6 months ago
2.1.1
11 months ago
2.2.3
6 months ago
2.1.4
10 months ago
2.2.2
6 months ago
2.1.3
11 months ago
2.2.5
5 months ago
2.1.6
10 months ago
2.0.7
11 months ago
2.2.4
5 months ago
2.1.5
10 months ago
2.0.6
12 months ago
2.2.7
5 months ago
2.1.21
6 months ago
2.1.8
9 months ago
2.2.6
5 months ago
2.1.22
6 months ago
2.1.7
10 months ago
2.1.20
7 months ago
2.1.0
11 months ago
2.1.9
9 months ago
2.1.16
8 months ago
2.1.17
7 months ago
2.1.14
8 months ago
2.1.15
8 months ago
2.1.12
9 months ago
2.1.13
8 months ago
2.1.10
9 months ago
2.1.11
9 months ago
2.0.5
12 months ago
2.0.4
12 months ago
2.0.3
1 year ago
2.0.2
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago