@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule 0.1.2

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/API.md ADDED
@@ -0,0 +1,468 @@
1
+ # API Reference <a name="API Reference" id="api-reference"></a>
2
+
3
+ ## Constructs <a name="Constructs" id="Constructs"></a>
4
+
5
+ ### StepFunctionsExecutionStatusChangeDetectionEventRule <a name="StepFunctionsExecutionStatusChangeDetectionEventRule" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule"></a>
6
+
7
+ #### Initializers <a name="Initializers" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.Initializer"></a>
8
+
9
+ ```typescript
10
+ import { StepFunctionsExecutionStatusChangeDetectionEventRule } from '@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule'
11
+
12
+ new StepFunctionsExecutionStatusChangeDetectionEventRule(scope: Construct, id: string, props: StepFunctionsExecutionStatusChangeDetectionEventRuleProps)
13
+ ```
14
+
15
+ | **Name** | **Type** | **Description** |
16
+ | --- | --- | --- |
17
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
18
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
19
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.Initializer.parameter.props">props</a></code> | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps">StepFunctionsExecutionStatusChangeDetectionEventRuleProps</a></code> | *No description.* |
20
+
21
+ ---
22
+
23
+ ##### `scope`<sup>Required</sup> <a name="scope" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.Initializer.parameter.scope"></a>
24
+
25
+ - *Type:* constructs.Construct
26
+
27
+ ---
28
+
29
+ ##### `id`<sup>Required</sup> <a name="id" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.Initializer.parameter.id"></a>
30
+
31
+ - *Type:* string
32
+
33
+ ---
34
+
35
+ ##### `props`<sup>Required</sup> <a name="props" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.Initializer.parameter.props"></a>
36
+
37
+ - *Type:* <a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps">StepFunctionsExecutionStatusChangeDetectionEventRuleProps</a>
38
+
39
+ ---
40
+
41
+ #### Methods <a name="Methods" id="Methods"></a>
42
+
43
+ | **Name** | **Description** |
44
+ | --- | --- |
45
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.toString">toString</a></code> | Returns a string representation of this construct. |
46
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.applyRemovalPolicy">applyRemovalPolicy</a></code> | Apply the given removal policy to this resource. |
47
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.addEventPattern">addEventPattern</a></code> | Adds an event pattern filter to this rule. |
48
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.addTarget">addTarget</a></code> | Adds a target to the rule. The abstract class RuleTarget can be extended to define new targets. |
49
+
50
+ ---
51
+
52
+ ##### `toString` <a name="toString" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.toString"></a>
53
+
54
+ ```typescript
55
+ public toString(): string
56
+ ```
57
+
58
+ Returns a string representation of this construct.
59
+
60
+ ##### `applyRemovalPolicy` <a name="applyRemovalPolicy" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.applyRemovalPolicy"></a>
61
+
62
+ ```typescript
63
+ public applyRemovalPolicy(policy: RemovalPolicy): void
64
+ ```
65
+
66
+ Apply the given removal policy to this resource.
67
+
68
+ The Removal Policy controls what happens to this resource when it stops
69
+ being managed by CloudFormation, either because you've removed it from the
70
+ CDK application or because you've made a change that requires the resource
71
+ to be replaced.
72
+
73
+ The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
74
+ account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).
75
+
76
+ ###### `policy`<sup>Required</sup> <a name="policy" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.applyRemovalPolicy.parameter.policy"></a>
77
+
78
+ - *Type:* aws-cdk-lib.RemovalPolicy
79
+
80
+ ---
81
+
82
+ ##### `addEventPattern` <a name="addEventPattern" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.addEventPattern"></a>
83
+
84
+ ```typescript
85
+ public addEventPattern(eventPattern?: EventPattern): void
86
+ ```
87
+
88
+ Adds an event pattern filter to this rule.
89
+
90
+ If a pattern was already specified,
91
+ these values are merged into the existing pattern.
92
+
93
+ For example, if the rule already contains the pattern:
94
+
95
+ {
96
+ "resources": [ "r1" ],
97
+ "detail": {
98
+ "hello": [ 1 ]
99
+ }
100
+ }
101
+
102
+ And `addEventPattern` is called with the pattern:
103
+
104
+ {
105
+ "resources": [ "r2" ],
106
+ "detail": {
107
+ "foo": [ "bar" ]
108
+ }
109
+ }
110
+
111
+ The resulting event pattern will be:
112
+
113
+ {
114
+ "resources": [ "r1", "r2" ],
115
+ "detail": {
116
+ "hello": [ 1 ],
117
+ "foo": [ "bar" ]
118
+ }
119
+ }
120
+
121
+ ###### `eventPattern`<sup>Optional</sup> <a name="eventPattern" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.addEventPattern.parameter.eventPattern"></a>
122
+
123
+ - *Type:* aws-cdk-lib.aws_events.EventPattern
124
+
125
+ ---
126
+
127
+ ##### `addTarget` <a name="addTarget" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.addTarget"></a>
128
+
129
+ ```typescript
130
+ public addTarget(target?: IRuleTarget): void
131
+ ```
132
+
133
+ Adds a target to the rule. The abstract class RuleTarget can be extended to define new targets.
134
+
135
+ No-op if target is undefined.
136
+
137
+ ###### `target`<sup>Optional</sup> <a name="target" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.addTarget.parameter.target"></a>
138
+
139
+ - *Type:* aws-cdk-lib.aws_events.IRuleTarget
140
+
141
+ ---
142
+
143
+ #### Static Functions <a name="Static Functions" id="Static Functions"></a>
144
+
145
+ | **Name** | **Description** |
146
+ | --- | --- |
147
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
148
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isOwnedResource">isOwnedResource</a></code> | Returns true if the construct was created by CDK, and false otherwise. |
149
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isResource">isResource</a></code> | Check whether the given construct is a Resource. |
150
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.fromEventRuleArn">fromEventRuleArn</a></code> | Import an existing EventBridge Rule provided an ARN. |
151
+
152
+ ---
153
+
154
+ ##### ~~`isConstruct`~~ <a name="isConstruct" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isConstruct"></a>
155
+
156
+ ```typescript
157
+ import { StepFunctionsExecutionStatusChangeDetectionEventRule } from '@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule'
158
+
159
+ StepFunctionsExecutionStatusChangeDetectionEventRule.isConstruct(x: any)
160
+ ```
161
+
162
+ Checks if `x` is a construct.
163
+
164
+ ###### `x`<sup>Required</sup> <a name="x" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isConstruct.parameter.x"></a>
165
+
166
+ - *Type:* any
167
+
168
+ Any object.
169
+
170
+ ---
171
+
172
+ ##### `isOwnedResource` <a name="isOwnedResource" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isOwnedResource"></a>
173
+
174
+ ```typescript
175
+ import { StepFunctionsExecutionStatusChangeDetectionEventRule } from '@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule'
176
+
177
+ StepFunctionsExecutionStatusChangeDetectionEventRule.isOwnedResource(construct: IConstruct)
178
+ ```
179
+
180
+ Returns true if the construct was created by CDK, and false otherwise.
181
+
182
+ ###### `construct`<sup>Required</sup> <a name="construct" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isOwnedResource.parameter.construct"></a>
183
+
184
+ - *Type:* constructs.IConstruct
185
+
186
+ ---
187
+
188
+ ##### `isResource` <a name="isResource" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isResource"></a>
189
+
190
+ ```typescript
191
+ import { StepFunctionsExecutionStatusChangeDetectionEventRule } from '@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule'
192
+
193
+ StepFunctionsExecutionStatusChangeDetectionEventRule.isResource(construct: IConstruct)
194
+ ```
195
+
196
+ Check whether the given construct is a Resource.
197
+
198
+ ###### `construct`<sup>Required</sup> <a name="construct" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.isResource.parameter.construct"></a>
199
+
200
+ - *Type:* constructs.IConstruct
201
+
202
+ ---
203
+
204
+ ##### `fromEventRuleArn` <a name="fromEventRuleArn" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.fromEventRuleArn"></a>
205
+
206
+ ```typescript
207
+ import { StepFunctionsExecutionStatusChangeDetectionEventRule } from '@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule'
208
+
209
+ StepFunctionsExecutionStatusChangeDetectionEventRule.fromEventRuleArn(scope: Construct, id: string, eventRuleArn: string)
210
+ ```
211
+
212
+ Import an existing EventBridge Rule provided an ARN.
213
+
214
+ ###### `scope`<sup>Required</sup> <a name="scope" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.fromEventRuleArn.parameter.scope"></a>
215
+
216
+ - *Type:* constructs.Construct
217
+
218
+ The parent creating construct (usually `this`).
219
+
220
+ ---
221
+
222
+ ###### `id`<sup>Required</sup> <a name="id" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.fromEventRuleArn.parameter.id"></a>
223
+
224
+ - *Type:* string
225
+
226
+ The construct's name.
227
+
228
+ ---
229
+
230
+ ###### `eventRuleArn`<sup>Required</sup> <a name="eventRuleArn" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.fromEventRuleArn.parameter.eventRuleArn"></a>
231
+
232
+ - *Type:* string
233
+
234
+ Event Rule ARN (i.e. arn:aws:events:<region>:<account-id>:rule/MyScheduledRule).
235
+
236
+ ---
237
+
238
+ #### Properties <a name="Properties" id="Properties"></a>
239
+
240
+ | **Name** | **Type** | **Description** |
241
+ | --- | --- | --- |
242
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
243
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.env">env</a></code> | <code>aws-cdk-lib.ResourceEnvironment</code> | The environment this resource belongs to. |
244
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.stack">stack</a></code> | <code>aws-cdk-lib.Stack</code> | The stack in which this resource is defined. |
245
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.ruleArn">ruleArn</a></code> | <code>string</code> | The value of the event rule Amazon Resource Name (ARN), such as arn:aws:events:us-east-2:123456789012:rule/example. |
246
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.ruleName">ruleName</a></code> | <code>string</code> | The name event rule. |
247
+
248
+ ---
249
+
250
+ ##### `node`<sup>Required</sup> <a name="node" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.node"></a>
251
+
252
+ ```typescript
253
+ public readonly node: Node;
254
+ ```
255
+
256
+ - *Type:* constructs.Node
257
+
258
+ The tree node.
259
+
260
+ ---
261
+
262
+ ##### `env`<sup>Required</sup> <a name="env" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.env"></a>
263
+
264
+ ```typescript
265
+ public readonly env: ResourceEnvironment;
266
+ ```
267
+
268
+ - *Type:* aws-cdk-lib.ResourceEnvironment
269
+
270
+ The environment this resource belongs to.
271
+
272
+ For resources that are created and managed by the CDK
273
+ (generally, those created by creating new class instances like Role, Bucket, etc.),
274
+ this is always the same as the environment of the stack they belong to;
275
+ however, for imported resources
276
+ (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
277
+ that might be different than the stack they were imported into.
278
+
279
+ ---
280
+
281
+ ##### `stack`<sup>Required</sup> <a name="stack" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.stack"></a>
282
+
283
+ ```typescript
284
+ public readonly stack: Stack;
285
+ ```
286
+
287
+ - *Type:* aws-cdk-lib.Stack
288
+
289
+ The stack in which this resource is defined.
290
+
291
+ ---
292
+
293
+ ##### `ruleArn`<sup>Required</sup> <a name="ruleArn" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.ruleArn"></a>
294
+
295
+ ```typescript
296
+ public readonly ruleArn: string;
297
+ ```
298
+
299
+ - *Type:* string
300
+
301
+ The value of the event rule Amazon Resource Name (ARN), such as arn:aws:events:us-east-2:123456789012:rule/example.
302
+
303
+ ---
304
+
305
+ ##### `ruleName`<sup>Required</sup> <a name="ruleName" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRule.property.ruleName"></a>
306
+
307
+ ```typescript
308
+ public readonly ruleName: string;
309
+ ```
310
+
311
+ - *Type:* string
312
+
313
+ The name event rule.
314
+
315
+ ---
316
+
317
+
318
+ ## Structs <a name="Structs" id="Structs"></a>
319
+
320
+ ### StepFunctionsExecutionStatusChangeDetectionEventRuleProps <a name="StepFunctionsExecutionStatusChangeDetectionEventRuleProps" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps"></a>
321
+
322
+ #### Initializer <a name="Initializer" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.Initializer"></a>
323
+
324
+ ```typescript
325
+ import { StepFunctionsExecutionStatusChangeDetectionEventRuleProps } from '@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule'
326
+
327
+ const stepFunctionsExecutionStatusChangeDetectionEventRuleProps: StepFunctionsExecutionStatusChangeDetectionEventRuleProps = { ... }
328
+ ```
329
+
330
+ #### Properties <a name="Properties" id="Properties"></a>
331
+
332
+ | **Name** | **Type** | **Description** |
333
+ | --- | --- | --- |
334
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.crossStackScope">crossStackScope</a></code> | <code>constructs.Construct</code> | The scope to use if the source of the rule and its target are in different Stacks (but in the same account & region). |
335
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.description">description</a></code> | <code>string</code> | A description of the rule's purpose. |
336
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.eventPattern">eventPattern</a></code> | <code>aws-cdk-lib.aws_events.EventPattern</code> | Additional restrictions for the event to route to the specified target. |
337
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.ruleName">ruleName</a></code> | <code>string</code> | A name for the rule. |
338
+ | <code><a href="#@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.enabled">enabled</a></code> | <code>boolean</code> | Indicates whether the rule is enabled. |
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
+ | <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
+ | <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
+
343
+ ---
344
+
345
+ ##### `crossStackScope`<sup>Optional</sup> <a name="crossStackScope" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.crossStackScope"></a>
346
+
347
+ ```typescript
348
+ public readonly crossStackScope: Construct;
349
+ ```
350
+
351
+ - *Type:* constructs.Construct
352
+ - *Default:* none (the main scope will be used, even for cross-stack Events)
353
+
354
+ The scope to use if the source of the rule and its target are in different Stacks (but in the same account & region).
355
+
356
+ This helps dealing with cycles that often arise in these situations.
357
+
358
+ ---
359
+
360
+ ##### `description`<sup>Optional</sup> <a name="description" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.description"></a>
361
+
362
+ ```typescript
363
+ public readonly description: string;
364
+ ```
365
+
366
+ - *Type:* string
367
+ - *Default:* No description
368
+
369
+ A description of the rule's purpose.
370
+
371
+ ---
372
+
373
+ ##### `eventPattern`<sup>Optional</sup> <a name="eventPattern" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.eventPattern"></a>
374
+
375
+ ```typescript
376
+ public readonly eventPattern: EventPattern;
377
+ ```
378
+
379
+ - *Type:* aws-cdk-lib.aws_events.EventPattern
380
+ - *Default:* No additional filtering based on an event pattern.
381
+
382
+ Additional restrictions for the event to route to the specified target.
383
+
384
+ The method that generates the rule probably imposes some type of event
385
+ filtering. The filtering implied by what you pass here is added
386
+ on top of that filtering.
387
+
388
+ > [https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html)
389
+
390
+ ---
391
+
392
+ ##### `ruleName`<sup>Optional</sup> <a name="ruleName" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.ruleName"></a>
393
+
394
+ ```typescript
395
+ public readonly ruleName: string;
396
+ ```
397
+
398
+ - *Type:* string
399
+ - *Default:* AWS CloudFormation generates a unique physical ID.
400
+
401
+ A name for the rule.
402
+
403
+ ---
404
+
405
+ ##### `enabled`<sup>Optional</sup> <a name="enabled" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.enabled"></a>
406
+
407
+ ```typescript
408
+ public readonly enabled: boolean;
409
+ ```
410
+
411
+ - *Type:* boolean
412
+ - *Default:* true
413
+
414
+ Indicates whether the rule is enabled.
415
+
416
+ ---
417
+
418
+ ##### `eventBus`<sup>Optional</sup> <a name="eventBus" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.eventBus"></a>
419
+
420
+ ```typescript
421
+ public readonly eventBus: IEventBus;
422
+ ```
423
+
424
+ - *Type:* aws-cdk-lib.aws_events.IEventBus
425
+ - *Default:* The default event bus.
426
+
427
+ The event bus to associate with this rule.
428
+
429
+ ---
430
+
431
+ ##### `schedule`<sup>Optional</sup> <a name="schedule" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.schedule"></a>
432
+
433
+ ```typescript
434
+ public readonly schedule: Schedule;
435
+ ```
436
+
437
+ - *Type:* aws-cdk-lib.aws_events.Schedule
438
+ - *Default:* None.
439
+
440
+ The schedule or rate (frequency) that determines when EventBridge runs the rule.
441
+
442
+ You must specify this property, the `eventPattern` property, or both.
443
+
444
+ For more information, see Schedule Expression Syntax for
445
+ Rules in the Amazon EventBridge User Guide.
446
+
447
+ > [https://docs.aws.amazon.com/eventbridge/latest/userguide/scheduled-events.html](https://docs.aws.amazon.com/eventbridge/latest/userguide/scheduled-events.html)
448
+
449
+ ---
450
+
451
+ ##### `targets`<sup>Optional</sup> <a name="targets" id="@gammarers/aws-stepfunctions-execution-status-change-detection-event-rule.StepFunctionsExecutionStatusChangeDetectionEventRuleProps.property.targets"></a>
452
+
453
+ ```typescript
454
+ public readonly targets: IRuleTarget[];
455
+ ```
456
+
457
+ - *Type:* aws-cdk-lib.aws_events.IRuleTarget[]
458
+ - *Default:* No targets.
459
+
460
+ Targets to invoke when this rule matches an event.
461
+
462
+ Input will be the full matched event. If you wish to specify custom
463
+ target input, use `addTarget(target[, inputOptions])`.
464
+
465
+ ---
466
+
467
+
468
+
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.