@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule 1.0.18 → 1.1.1
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 +83 -8
- package/API.md +57 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +22 -8
- package/package.json +2 -2
package/.jsii
CHANGED
|
@@ -3719,7 +3719,7 @@
|
|
|
3719
3719
|
},
|
|
3720
3720
|
"locationInModule": {
|
|
3721
3721
|
"filename": "src/index.ts",
|
|
3722
|
-
"line":
|
|
3722
|
+
"line": 28
|
|
3723
3723
|
},
|
|
3724
3724
|
"parameters": [
|
|
3725
3725
|
{
|
|
@@ -3745,7 +3745,7 @@
|
|
|
3745
3745
|
"kind": "class",
|
|
3746
3746
|
"locationInModule": {
|
|
3747
3747
|
"filename": "src/index.ts",
|
|
3748
|
-
"line":
|
|
3748
|
+
"line": 27
|
|
3749
3749
|
},
|
|
3750
3750
|
"name": "StepFunctionsExecutionStatusChangeDetectionEventRule",
|
|
3751
3751
|
"symbolId": "src/index:StepFunctionsExecutionStatusChangeDetectionEventRule"
|
|
@@ -3754,9 +3754,6 @@
|
|
|
3754
3754
|
"assembly": "@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule",
|
|
3755
3755
|
"datatype": true,
|
|
3756
3756
|
"docs": {
|
|
3757
|
-
"custom": {
|
|
3758
|
-
"TODO": ": Not yet supported Omit\nhttps://github.com/aws/jsii/issues/4468\ntype omitKeys = 'eventPattern';\nexport interface CodePipelineStateChangeDetectionEventRuleProps extends Omit<events.RuleProps, 'eventPattern'> {}"
|
|
3759
|
-
},
|
|
3760
3757
|
"stability": "stable"
|
|
3761
3758
|
},
|
|
3762
3759
|
"fqn": "@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps",
|
|
@@ -3766,12 +3763,90 @@
|
|
|
3766
3763
|
"kind": "interface",
|
|
3767
3764
|
"locationInModule": {
|
|
3768
3765
|
"filename": "src/index.ts",
|
|
3769
|
-
"line":
|
|
3766
|
+
"line": 23
|
|
3770
3767
|
},
|
|
3771
3768
|
"name": "StepFunctionsExecutionStatusChangeDetectionEventRuleProps",
|
|
3769
|
+
"properties": [
|
|
3770
|
+
{
|
|
3771
|
+
"abstract": true,
|
|
3772
|
+
"docs": {
|
|
3773
|
+
"stability": "stable"
|
|
3774
|
+
},
|
|
3775
|
+
"immutable": true,
|
|
3776
|
+
"locationInModule": {
|
|
3777
|
+
"filename": "src/index.ts",
|
|
3778
|
+
"line": 24
|
|
3779
|
+
},
|
|
3780
|
+
"name": "targetStatuses",
|
|
3781
|
+
"optional": true,
|
|
3782
|
+
"type": {
|
|
3783
|
+
"collection": {
|
|
3784
|
+
"elementtype": {
|
|
3785
|
+
"fqn": "@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus"
|
|
3786
|
+
},
|
|
3787
|
+
"kind": "array"
|
|
3788
|
+
}
|
|
3789
|
+
}
|
|
3790
|
+
}
|
|
3791
|
+
],
|
|
3772
3792
|
"symbolId": "src/index:StepFunctionsExecutionStatusChangeDetectionEventRuleProps"
|
|
3793
|
+
},
|
|
3794
|
+
"@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus": {
|
|
3795
|
+
"assembly": "@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule",
|
|
3796
|
+
"docs": {
|
|
3797
|
+
"custom": {
|
|
3798
|
+
"TODO": ": Not yet supported Omit\nhttps://github.com/aws/jsii/issues/4468\ntype omitKeys = 'eventPattern';\nexport interface CodePipelineStateChangeDetectionEventRuleProps extends Omit<events.RuleProps, 'eventPattern'> {}"
|
|
3799
|
+
},
|
|
3800
|
+
"stability": "stable"
|
|
3801
|
+
},
|
|
3802
|
+
"fqn": "@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus",
|
|
3803
|
+
"kind": "enum",
|
|
3804
|
+
"locationInModule": {
|
|
3805
|
+
"filename": "src/index.ts",
|
|
3806
|
+
"line": 14
|
|
3807
|
+
},
|
|
3808
|
+
"members": [
|
|
3809
|
+
{
|
|
3810
|
+
"docs": {
|
|
3811
|
+
"stability": "stable"
|
|
3812
|
+
},
|
|
3813
|
+
"name": "RUNNING"
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
"docs": {
|
|
3817
|
+
"stability": "stable"
|
|
3818
|
+
},
|
|
3819
|
+
"name": "SUCCEEDED"
|
|
3820
|
+
},
|
|
3821
|
+
{
|
|
3822
|
+
"docs": {
|
|
3823
|
+
"stability": "stable"
|
|
3824
|
+
},
|
|
3825
|
+
"name": "FAILED"
|
|
3826
|
+
},
|
|
3827
|
+
{
|
|
3828
|
+
"docs": {
|
|
3829
|
+
"stability": "stable"
|
|
3830
|
+
},
|
|
3831
|
+
"name": "TIMED_OUT"
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"docs": {
|
|
3835
|
+
"stability": "stable"
|
|
3836
|
+
},
|
|
3837
|
+
"name": "ABORTED"
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
"docs": {
|
|
3841
|
+
"stability": "stable"
|
|
3842
|
+
},
|
|
3843
|
+
"name": "PENDING_REDRIVE"
|
|
3844
|
+
}
|
|
3845
|
+
],
|
|
3846
|
+
"name": "TargetStatus",
|
|
3847
|
+
"symbolId": "src/index:TargetStatus"
|
|
3773
3848
|
}
|
|
3774
3849
|
},
|
|
3775
|
-
"version": "1.
|
|
3776
|
-
"fingerprint": "
|
|
3850
|
+
"version": "1.1.1",
|
|
3851
|
+
"fingerprint": "vdLOrVf39ej1g5ln08cEVHspckf0qY4oW4+7IivrJWo="
|
|
3777
3852
|
}
|
package/API.md
CHANGED
|
@@ -339,6 +339,7 @@ const stepFunctionsExecutionStatusChangeDetectionEventRuleProps: StepFunctionsEx
|
|
|
339
339
|
| <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.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-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.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-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.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-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.targetStatuses">targetStatuses</a></code> | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus">TargetStatus</a>[]</code> | *No description.* |
|
|
342
343
|
|
|
343
344
|
---
|
|
344
345
|
|
|
@@ -464,5 +465,61 @@ target input, use `addTarget(target[, inputOptions])`.
|
|
|
464
465
|
|
|
465
466
|
---
|
|
466
467
|
|
|
468
|
+
##### `targetStatuses`<sup>Optional</sup> <a name="targetStatuses" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.targetStatuses"></a>
|
|
467
469
|
|
|
470
|
+
```typescript
|
|
471
|
+
public readonly targetStatuses: TargetStatus[];
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
- *Type:* <a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus">TargetStatus</a>[]
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
## Enums <a name="Enums" id="Enums"></a>
|
|
481
|
+
|
|
482
|
+
### TargetStatus <a name="TargetStatus" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus"></a>
|
|
483
|
+
|
|
484
|
+
#### Members <a name="Members" id="Members"></a>
|
|
485
|
+
|
|
486
|
+
| **Name** | **Description** |
|
|
487
|
+
| --- | --- |
|
|
488
|
+
| <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.RUNNING">RUNNING</a></code> | *No description.* |
|
|
489
|
+
| <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.SUCCEEDED">SUCCEEDED</a></code> | *No description.* |
|
|
490
|
+
| <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.FAILED">FAILED</a></code> | *No description.* |
|
|
491
|
+
| <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.TIMED_OUT">TIMED_OUT</a></code> | *No description.* |
|
|
492
|
+
| <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.ABORTED">ABORTED</a></code> | *No description.* |
|
|
493
|
+
| <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.PENDING_REDRIVE">PENDING_REDRIVE</a></code> | *No description.* |
|
|
494
|
+
|
|
495
|
+
---
|
|
496
|
+
|
|
497
|
+
##### `RUNNING` <a name="RUNNING" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.RUNNING"></a>
|
|
498
|
+
|
|
499
|
+
---
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
##### `SUCCEEDED` <a name="SUCCEEDED" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.SUCCEEDED"></a>
|
|
503
|
+
|
|
504
|
+
---
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
##### `FAILED` <a name="FAILED" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.FAILED"></a>
|
|
508
|
+
|
|
509
|
+
---
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
##### `TIMED_OUT` <a name="TIMED_OUT" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.TIMED_OUT"></a>
|
|
513
|
+
|
|
514
|
+
---
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
##### `ABORTED` <a name="ABORTED" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.ABORTED"></a>
|
|
518
|
+
|
|
519
|
+
---
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
##### `PENDING_REDRIVE` <a name="PENDING_REDRIVE" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.TargetStatus.PENDING_REDRIVE"></a>
|
|
523
|
+
|
|
524
|
+
---
|
|
468
525
|
|
package/lib/index.d.ts
CHANGED
|
@@ -6,7 +6,16 @@ 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 TargetStatus {
|
|
10
|
+
RUNNING = "RUNNING",
|
|
11
|
+
SUCCEEDED = "SUCCEEDED",
|
|
12
|
+
FAILED = "FAILED",
|
|
13
|
+
TIMED_OUT = "TIMED_OUT",
|
|
14
|
+
ABORTED = "ABORTED",
|
|
15
|
+
PENDING_REDRIVE = "PENDING_REDRIVE"
|
|
16
|
+
}
|
|
9
17
|
export interface StepFunctionsExecutionStatusChangeDetectionEventRuleProps extends events.RuleProps {
|
|
18
|
+
readonly targetStatuses?: TargetStatus[];
|
|
10
19
|
}
|
|
11
20
|
export declare class StepFunctionsExecutionStatusChangeDetectionEventRule extends events.Rule {
|
|
12
21
|
constructor(scope: Construct, id: string, props: StepFunctionsExecutionStatusChangeDetectionEventRuleProps);
|
package/lib/index.js
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.StepFunctionsExecutionStatusChangeDetectionEventRule = void 0;
|
|
4
|
+
exports.StepFunctionsExecutionStatusChangeDetectionEventRule = exports.TargetStatus = 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
|
+
// RUNNING | SUCCEEDED | FAILED | TIMED_OUT | ABORTED | PENDING_REDRIVE
|
|
15
|
+
var TargetStatus;
|
|
16
|
+
(function (TargetStatus) {
|
|
17
|
+
TargetStatus["RUNNING"] = "RUNNING";
|
|
18
|
+
TargetStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
19
|
+
TargetStatus["FAILED"] = "FAILED";
|
|
20
|
+
TargetStatus["TIMED_OUT"] = "TIMED_OUT";
|
|
21
|
+
TargetStatus["ABORTED"] = "ABORTED";
|
|
22
|
+
TargetStatus["PENDING_REDRIVE"] = "PENDING_REDRIVE";
|
|
23
|
+
})(TargetStatus || (exports.TargetStatus = TargetStatus = {}));
|
|
8
24
|
class StepFunctionsExecutionStatusChangeDetectionEventRule extends events.Rule {
|
|
9
25
|
constructor(scope, id, props) {
|
|
10
26
|
super(scope, id, {
|
|
@@ -18,11 +34,9 @@ class StepFunctionsExecutionStatusChangeDetectionEventRule extends events.Rule {
|
|
|
18
34
|
detailType: ['Step Functions Execution Status Change'],
|
|
19
35
|
detail: (() => {
|
|
20
36
|
// if (props.targetStateMachineArn) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
// };
|
|
25
|
-
// }
|
|
37
|
+
if (props.targetStatuses) {
|
|
38
|
+
return { status: props.targetStatuses };
|
|
39
|
+
}
|
|
26
40
|
return { status: ['FAILED', 'TIMED_OUT'] };
|
|
27
41
|
})(),
|
|
28
42
|
};
|
|
@@ -32,5 +46,5 @@ class StepFunctionsExecutionStatusChangeDetectionEventRule extends events.Rule {
|
|
|
32
46
|
}
|
|
33
47
|
exports.StepFunctionsExecutionStatusChangeDetectionEventRule = StepFunctionsExecutionStatusChangeDetectionEventRule;
|
|
34
48
|
_a = JSII_RTTI_SYMBOL_1;
|
|
35
|
-
StepFunctionsExecutionStatusChangeDetectionEventRule[_a] = { fqn: "@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule", version: "1.
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
StepFunctionsExecutionStatusChangeDetectionEventRule[_a] = { fqn: "@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule", version: "1.1.1" };
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw4REFBb0Y7QUFDcEYsaURBQWlEO0FBR2pEOzs7OztHQUtHO0FBRUgsdUVBQXVFO0FBRXZFLElBQVksWUFPWDtBQVBELFdBQVksWUFBWTtJQUN0QixtQ0FBbUIsQ0FBQTtJQUNuQix1Q0FBdUIsQ0FBQTtJQUN2QixpQ0FBaUIsQ0FBQTtJQUNqQix1Q0FBdUIsQ0FBQTtJQUN2QixtQ0FBbUIsQ0FBQTtJQUNuQixtREFBbUMsQ0FBQTtBQUNyQyxDQUFDLEVBUFcsWUFBWSw0QkFBWixZQUFZLF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"jsii-pacmak": "^1.112.0",
|
|
55
55
|
"jsii-rosetta": "5.7.x",
|
|
56
|
-
"projen": "^0.94.
|
|
56
|
+
"projen": "^0.94.2",
|
|
57
57
|
"ts-jest": "^29.4.0",
|
|
58
58
|
"ts-node": "^10.9.2",
|
|
59
59
|
"typescript": "5.7.x"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
|
-
"version": "1.
|
|
79
|
+
"version": "1.1.1",
|
|
80
80
|
"jest": {
|
|
81
81
|
"coverageProvider": "v8",
|
|
82
82
|
"testMatch": [
|