@gammarers/aws-codesuite-state-change-detection-event-rules 2.0.6 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii
CHANGED
|
@@ -3489,6 +3489,73 @@
|
|
|
3489
3489
|
}
|
|
3490
3490
|
},
|
|
3491
3491
|
"types": {
|
|
3492
|
+
"@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState": {
|
|
3493
|
+
"assembly": "@gammarers/aws-codesuite-state-change-detection-event-rules",
|
|
3494
|
+
"docs": {
|
|
3495
|
+
"custom": {
|
|
3496
|
+
"TODO": ": Not yet supported Omit\nhttps://github.com/aws/jsii/issues/4468\ntype omitKeys = 'eventPattern';\nexport interface CodePipelineStateChangeDetectionEventRuleProps extends Omit<events.RuleProps, 'eventPattern'> {}"
|
|
3497
|
+
},
|
|
3498
|
+
"stability": "stable"
|
|
3499
|
+
},
|
|
3500
|
+
"fqn": "@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState",
|
|
3501
|
+
"kind": "enum",
|
|
3502
|
+
"locationInModule": {
|
|
3503
|
+
"filename": "src/codepipeline-execution-state-change-detection-event-rule.ts",
|
|
3504
|
+
"line": 12
|
|
3505
|
+
},
|
|
3506
|
+
"members": [
|
|
3507
|
+
{
|
|
3508
|
+
"docs": {
|
|
3509
|
+
"stability": "stable"
|
|
3510
|
+
},
|
|
3511
|
+
"name": "CANCELED"
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"docs": {
|
|
3515
|
+
"stability": "stable"
|
|
3516
|
+
},
|
|
3517
|
+
"name": "FAILED"
|
|
3518
|
+
},
|
|
3519
|
+
{
|
|
3520
|
+
"docs": {
|
|
3521
|
+
"stability": "stable"
|
|
3522
|
+
},
|
|
3523
|
+
"name": "RESUMED"
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"docs": {
|
|
3527
|
+
"stability": "stable"
|
|
3528
|
+
},
|
|
3529
|
+
"name": "STARTED"
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"docs": {
|
|
3533
|
+
"stability": "stable"
|
|
3534
|
+
},
|
|
3535
|
+
"name": "STOPPED"
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"docs": {
|
|
3539
|
+
"stability": "stable"
|
|
3540
|
+
},
|
|
3541
|
+
"name": "STOPPING"
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
"docs": {
|
|
3545
|
+
"stability": "stable"
|
|
3546
|
+
},
|
|
3547
|
+
"name": "SUCCEEDED"
|
|
3548
|
+
},
|
|
3549
|
+
{
|
|
3550
|
+
"docs": {
|
|
3551
|
+
"stability": "stable"
|
|
3552
|
+
},
|
|
3553
|
+
"name": "SUPERSEDED"
|
|
3554
|
+
}
|
|
3555
|
+
],
|
|
3556
|
+
"name": "CodePipelineExecutionState",
|
|
3557
|
+
"symbolId": "src/codepipeline-execution-state-change-detection-event-rule:CodePipelineExecutionState"
|
|
3558
|
+
},
|
|
3492
3559
|
"@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRule": {
|
|
3493
3560
|
"assembly": "@gammarers/aws-codesuite-state-change-detection-event-rules",
|
|
3494
3561
|
"base": "aws-cdk-lib.aws_events.Rule",
|
|
@@ -3502,7 +3569,7 @@
|
|
|
3502
3569
|
},
|
|
3503
3570
|
"locationInModule": {
|
|
3504
3571
|
"filename": "src/codepipeline-execution-state-change-detection-event-rule.ts",
|
|
3505
|
-
"line":
|
|
3572
|
+
"line": 28
|
|
3506
3573
|
},
|
|
3507
3574
|
"parameters": [
|
|
3508
3575
|
{
|
|
@@ -3528,7 +3595,7 @@
|
|
|
3528
3595
|
"kind": "class",
|
|
3529
3596
|
"locationInModule": {
|
|
3530
3597
|
"filename": "src/codepipeline-execution-state-change-detection-event-rule.ts",
|
|
3531
|
-
"line":
|
|
3598
|
+
"line": 27
|
|
3532
3599
|
},
|
|
3533
3600
|
"name": "CodePipelineExecutionStateChangeDetectionEventRule",
|
|
3534
3601
|
"symbolId": "src/codepipeline-execution-state-change-detection-event-rule:CodePipelineExecutionStateChangeDetectionEventRule"
|
|
@@ -3537,9 +3604,6 @@
|
|
|
3537
3604
|
"assembly": "@gammarers/aws-codesuite-state-change-detection-event-rules",
|
|
3538
3605
|
"datatype": true,
|
|
3539
3606
|
"docs": {
|
|
3540
|
-
"custom": {
|
|
3541
|
-
"TODO": ": Not yet supported Omit\nhttps://github.com/aws/jsii/issues/4468\ntype omitKeys = 'eventPattern';\nexport interface CodePipelineStateChangeDetectionEventRuleProps extends Omit<events.RuleProps, 'eventPattern'> {}"
|
|
3542
|
-
},
|
|
3543
3607
|
"stability": "stable"
|
|
3544
3608
|
},
|
|
3545
3609
|
"fqn": "@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRuleProps",
|
|
@@ -3549,12 +3613,35 @@
|
|
|
3549
3613
|
"kind": "interface",
|
|
3550
3614
|
"locationInModule": {
|
|
3551
3615
|
"filename": "src/codepipeline-execution-state-change-detection-event-rule.ts",
|
|
3552
|
-
"line":
|
|
3616
|
+
"line": 23
|
|
3553
3617
|
},
|
|
3554
3618
|
"name": "CodePipelineExecutionStateChangeDetectionEventRuleProps",
|
|
3619
|
+
"properties": [
|
|
3620
|
+
{
|
|
3621
|
+
"abstract": true,
|
|
3622
|
+
"docs": {
|
|
3623
|
+
"stability": "stable"
|
|
3624
|
+
},
|
|
3625
|
+
"immutable": true,
|
|
3626
|
+
"locationInModule": {
|
|
3627
|
+
"filename": "src/codepipeline-execution-state-change-detection-event-rule.ts",
|
|
3628
|
+
"line": 24
|
|
3629
|
+
},
|
|
3630
|
+
"name": "targetStates",
|
|
3631
|
+
"optional": true,
|
|
3632
|
+
"type": {
|
|
3633
|
+
"collection": {
|
|
3634
|
+
"elementtype": {
|
|
3635
|
+
"fqn": "@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState"
|
|
3636
|
+
},
|
|
3637
|
+
"kind": "array"
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
}
|
|
3641
|
+
],
|
|
3555
3642
|
"symbolId": "src/codepipeline-execution-state-change-detection-event-rule:CodePipelineExecutionStateChangeDetectionEventRuleProps"
|
|
3556
3643
|
}
|
|
3557
3644
|
},
|
|
3558
|
-
"version": "2.0
|
|
3559
|
-
"fingerprint": "
|
|
3645
|
+
"version": "2.1.0",
|
|
3646
|
+
"fingerprint": "fNttqgdcHUhRr2jcXzUvSMJEfXxAUjhqKu8f/cHW6Es="
|
|
3560
3647
|
}
|
package/API.md
CHANGED
|
@@ -339,6 +339,7 @@ const codePipelineExecutionStateChangeDetectionEventRuleProps: CodePipelineExecu
|
|
|
339
339
|
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRuleProps.property.eventBus">eventBus</a></code> | <code>aws-cdk-lib.aws_events.IEventBus</code> | The event bus to associate with this rule. |
|
|
340
340
|
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRuleProps.property.schedule">schedule</a></code> | <code>aws-cdk-lib.aws_events.Schedule</code> | The schedule or rate (frequency) that determines when EventBridge runs the rule. |
|
|
341
341
|
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRuleProps.property.targets">targets</a></code> | <code>aws-cdk-lib.aws_events.IRuleTarget[]</code> | Targets to invoke when this rule matches an event. |
|
|
342
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRuleProps.property.targetStates">targetStates</a></code> | <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState">CodePipelineExecutionState</a>[]</code> | *No description.* |
|
|
342
343
|
|
|
343
344
|
---
|
|
344
345
|
|
|
@@ -464,5 +465,73 @@ target input, use `addTarget(target[, inputOptions])`.
|
|
|
464
465
|
|
|
465
466
|
---
|
|
466
467
|
|
|
468
|
+
##### `targetStates`<sup>Optional</sup> <a name="targetStates" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRuleProps.property.targetStates"></a>
|
|
467
469
|
|
|
470
|
+
```typescript
|
|
471
|
+
public readonly targetStates: CodePipelineExecutionState[];
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
- *Type:* <a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState">CodePipelineExecutionState</a>[]
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
## Enums <a name="Enums" id="Enums"></a>
|
|
481
|
+
|
|
482
|
+
### CodePipelineExecutionState <a name="CodePipelineExecutionState" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState"></a>
|
|
483
|
+
|
|
484
|
+
#### Members <a name="Members" id="Members"></a>
|
|
485
|
+
|
|
486
|
+
| **Name** | **Description** |
|
|
487
|
+
| --- | --- |
|
|
488
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.CANCELED">CANCELED</a></code> | *No description.* |
|
|
489
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.FAILED">FAILED</a></code> | *No description.* |
|
|
490
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.RESUMED">RESUMED</a></code> | *No description.* |
|
|
491
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.STARTED">STARTED</a></code> | *No description.* |
|
|
492
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.STOPPED">STOPPED</a></code> | *No description.* |
|
|
493
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.STOPPING">STOPPING</a></code> | *No description.* |
|
|
494
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.SUCCEEDED">SUCCEEDED</a></code> | *No description.* |
|
|
495
|
+
| <code><a href="#@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.SUPERSEDED">SUPERSEDED</a></code> | *No description.* |
|
|
496
|
+
|
|
497
|
+
---
|
|
498
|
+
|
|
499
|
+
##### `CANCELED` <a name="CANCELED" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.CANCELED"></a>
|
|
500
|
+
|
|
501
|
+
---
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
##### `FAILED` <a name="FAILED" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.FAILED"></a>
|
|
505
|
+
|
|
506
|
+
---
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
##### `RESUMED` <a name="RESUMED" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.RESUMED"></a>
|
|
510
|
+
|
|
511
|
+
---
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
##### `STARTED` <a name="STARTED" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.STARTED"></a>
|
|
515
|
+
|
|
516
|
+
---
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
##### `STOPPED` <a name="STOPPED" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.STOPPED"></a>
|
|
520
|
+
|
|
521
|
+
---
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
##### `STOPPING` <a name="STOPPING" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.STOPPING"></a>
|
|
525
|
+
|
|
526
|
+
---
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
##### `SUCCEEDED` <a name="SUCCEEDED" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.SUCCEEDED"></a>
|
|
530
|
+
|
|
531
|
+
---
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
##### `SUPERSEDED` <a name="SUPERSEDED" id="@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionState.SUPERSEDED"></a>
|
|
535
|
+
|
|
536
|
+
---
|
|
468
537
|
|
|
@@ -6,7 +6,18 @@ import { Construct } from 'constructs';
|
|
|
6
6
|
* type omitKeys = 'eventPattern';
|
|
7
7
|
* export interface CodePipelineStateChangeDetectionEventRuleProps extends Omit<events.RuleProps, 'eventPattern'> {}
|
|
8
8
|
*/
|
|
9
|
+
export declare enum CodePipelineExecutionState {
|
|
10
|
+
CANCELED = "CANCELED",
|
|
11
|
+
FAILED = "FAILED",
|
|
12
|
+
RESUMED = "RESUMED",
|
|
13
|
+
STARTED = "STARTED",
|
|
14
|
+
STOPPED = "STOPPED",
|
|
15
|
+
STOPPING = "STOPPING",
|
|
16
|
+
SUCCEEDED = "SUCCEEDED",
|
|
17
|
+
SUPERSEDED = "SUPERSEDED"
|
|
18
|
+
}
|
|
9
19
|
export interface CodePipelineExecutionStateChangeDetectionEventRuleProps extends events.RuleProps {
|
|
20
|
+
readonly targetStates?: CodePipelineExecutionState[];
|
|
10
21
|
}
|
|
11
22
|
export declare class CodePipelineExecutionStateChangeDetectionEventRule extends events.Rule {
|
|
12
23
|
constructor(scope: Construct, id: string, props: CodePipelineExecutionStateChangeDetectionEventRuleProps);
|
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.CodePipelineExecutionStateChangeDetectionEventRule = void 0;
|
|
4
|
+
exports.CodePipelineExecutionStateChangeDetectionEventRule = exports.CodePipelineExecutionState = void 0;
|
|
5
5
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
6
6
|
const aws_cdk_errors_1 = require("@gammarers/aws-cdk-errors");
|
|
7
7
|
const events = require("aws-cdk-lib/aws-events");
|
|
8
|
+
/**
|
|
9
|
+
* @TODO: Not yet supported Omit
|
|
10
|
+
* https://github.com/aws/jsii/issues/4468
|
|
11
|
+
* type omitKeys = 'eventPattern';
|
|
12
|
+
* export interface CodePipelineStateChangeDetectionEventRuleProps extends Omit<events.RuleProps, 'eventPattern'> {}
|
|
13
|
+
*/
|
|
14
|
+
var CodePipelineExecutionState;
|
|
15
|
+
(function (CodePipelineExecutionState) {
|
|
16
|
+
CodePipelineExecutionState["CANCELED"] = "CANCELED";
|
|
17
|
+
CodePipelineExecutionState["FAILED"] = "FAILED";
|
|
18
|
+
CodePipelineExecutionState["RESUMED"] = "RESUMED";
|
|
19
|
+
CodePipelineExecutionState["STARTED"] = "STARTED";
|
|
20
|
+
CodePipelineExecutionState["STOPPED"] = "STOPPED";
|
|
21
|
+
CodePipelineExecutionState["STOPPING"] = "STOPPING";
|
|
22
|
+
CodePipelineExecutionState["SUCCEEDED"] = "SUCCEEDED";
|
|
23
|
+
CodePipelineExecutionState["SUPERSEDED"] = "SUPERSEDED";
|
|
24
|
+
})(CodePipelineExecutionState || (exports.CodePipelineExecutionState = CodePipelineExecutionState = {}));
|
|
8
25
|
class CodePipelineExecutionStateChangeDetectionEventRule extends events.Rule {
|
|
9
26
|
constructor(scope, id, props) {
|
|
10
27
|
super(scope, id, {
|
|
@@ -16,6 +33,17 @@ class CodePipelineExecutionStateChangeDetectionEventRule extends events.Rule {
|
|
|
16
33
|
return {
|
|
17
34
|
source: ['aws.codepipeline'],
|
|
18
35
|
detailType: ['CodePipeline Pipeline Execution State Change'],
|
|
36
|
+
// detail: {
|
|
37
|
+
// state: props.targetStates,
|
|
38
|
+
// },
|
|
39
|
+
detail: (() => {
|
|
40
|
+
if (props.targetStates) {
|
|
41
|
+
return {
|
|
42
|
+
state: props.targetStates,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
return undefined;
|
|
46
|
+
})(),
|
|
19
47
|
};
|
|
20
48
|
})(),
|
|
21
49
|
});
|
|
@@ -23,5 +51,5 @@ class CodePipelineExecutionStateChangeDetectionEventRule extends events.Rule {
|
|
|
23
51
|
}
|
|
24
52
|
exports.CodePipelineExecutionStateChangeDetectionEventRule = CodePipelineExecutionStateChangeDetectionEventRule;
|
|
25
53
|
_a = JSII_RTTI_SYMBOL_1;
|
|
26
|
-
CodePipelineExecutionStateChangeDetectionEventRule[_a] = { fqn: "@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRule", version: "2.0
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
54
|
+
CodePipelineExecutionStateChangeDetectionEventRule[_a] = { fqn: "@gammarers/aws-codesuite-state-change-detection-event-rules.CodePipelineExecutionStateChangeDetectionEventRule", version: "2.1.0" };
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZXBpcGVsaW5lLWV4ZWN1dGlvbi1zdGF0ZS1jaGFuZ2UtZGV0ZWN0aW9uLWV2ZW50LXJ1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvY29kZXBpcGVsaW5lLWV4ZWN1dGlvbi1zdGF0ZS1jaGFuZ2UtZGV0ZWN0aW9uLWV2ZW50LXJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw4REFBb0Y7QUFDcEYsaURBQWlEO0FBR2pEOzs7OztHQUtHO0FBRUgsSUFBWSwwQkFTWDtBQVRELFdBQVksMEJBQTBCO0lBQ3BDLG1EQUFxQixDQUFBO0lBQ3JCLCtDQUFpQixDQUFBO0lBQ2pCLGlEQUFtQixDQUFBO0lBQ25CLGlEQUFtQixDQUFBO0lBQ25CLGlEQUFtQixDQUFBO0lBQ25CLG1EQUFxQixDQUFBO0lBQ3JCLHFEQUF1QixDQUFBO0lBQ3ZCLHVEQUF5QixDQUFBO0FBQzNCL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bn0iXX0=
|
package/package.json
CHANGED
|
@@ -35,14 +35,15 @@
|
|
|
35
35
|
"organization": true
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
+
"@stylistic/eslint-plugin": "^2",
|
|
38
39
|
"@types/jest": "^29.5.14",
|
|
39
40
|
"@types/node": "^18",
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
41
|
-
"@typescript-eslint/parser": "^
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^8",
|
|
42
|
+
"@typescript-eslint/parser": "^8",
|
|
42
43
|
"aws-cdk-lib": "2.80.0",
|
|
43
44
|
"commit-and-tag-version": "^12",
|
|
44
45
|
"constructs": "10.0.5",
|
|
45
|
-
"eslint": "^
|
|
46
|
+
"eslint": "^9",
|
|
46
47
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
47
48
|
"eslint-plugin-import": "^2.31.0",
|
|
48
49
|
"jest": "^29.7.0",
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
"jsii-docgen": "^10.5.0",
|
|
53
54
|
"jsii-pacmak": "^1.104.0",
|
|
54
55
|
"jsii-rosetta": "5.5.x",
|
|
55
|
-
"projen": "^0.90.
|
|
56
|
+
"projen": "^0.90.2",
|
|
56
57
|
"ts-jest": "^29.2.5",
|
|
57
58
|
"ts-node": "^10.9.2",
|
|
58
59
|
"typescript": "5.5.x"
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"publishConfig": {
|
|
76
77
|
"access": "public"
|
|
77
78
|
},
|
|
78
|
-
"version": "2.0
|
|
79
|
+
"version": "2.1.0",
|
|
79
80
|
"jest": {
|
|
80
81
|
"coverageProvider": "v8",
|
|
81
82
|
"testMatch": [
|