stacktape 3.6.0-beta.0 → 3.6.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/ai-docs/config-ref/_root.md +0 -11
- package/ai-docs/config-ref/sqs-queue-not-empty.md +16 -7
- package/ai-docs/index.json +1 -1
- package/index.js +8 -2
- package/package.json +1 -1
- package/plain.d.ts +63 -57
|
@@ -56,17 +56,6 @@ interface StacktapeConfig {
|
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
58
|
variables?: { [variableName: string]: any };
|
|
59
|
-
/**
|
|
60
|
-
* #### Set a monthly spending limit and get email alerts when costs approach it.
|
|
61
|
-
*
|
|
62
|
-
* ---
|
|
63
|
-
*
|
|
64
|
-
* The budget resets at the start of each calendar month. You can configure alerts
|
|
65
|
-
* based on actual spend or AWS-forecasted spend.
|
|
66
|
-
*
|
|
67
|
-
* > Not available in all regions (e.g., `ap-east-1`, `af-south-1`).
|
|
68
|
-
*/
|
|
69
|
-
budgetControl?: BudgetControl;
|
|
70
59
|
/**
|
|
71
60
|
* #### Run scripts automatically before/after deploy, delete, or dev commands.
|
|
72
61
|
*
|
|
@@ -15,7 +15,12 @@ Resource type: `sqs-queue-not-empty`
|
|
|
15
15
|
## TypeScript Definition
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
type AlarmUserIntegration =
|
|
18
|
+
type AlarmUserIntegration =
|
|
19
|
+
| MsTeamsIntegration
|
|
20
|
+
| SlackIntegration
|
|
21
|
+
| EmailIntegration
|
|
22
|
+
| DiscordIntegration
|
|
23
|
+
| WebhookIntegration;
|
|
19
24
|
|
|
20
25
|
interface AlarmDefinitionBase {
|
|
21
26
|
/**
|
|
@@ -31,6 +36,12 @@ interface AlarmDefinitionBase {
|
|
|
31
36
|
* #### Where to send notifications when the alarm fires — Slack, MS Teams, or email.
|
|
32
37
|
*/
|
|
33
38
|
notificationTargets?: AlarmUserIntegration[];
|
|
39
|
+
/**
|
|
40
|
+
* #### Whether alarm state changes should appear in monitoring history.
|
|
41
|
+
*
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
includeInHistory?: boolean;
|
|
34
45
|
/**
|
|
35
46
|
* #### Custom alarm description used in notification messages and the AWS console.
|
|
36
47
|
*/
|
|
@@ -307,8 +318,7 @@ interface RelationalDatabaseWriteLatencyTrigger {
|
|
|
307
318
|
}
|
|
308
319
|
|
|
309
320
|
interface RelationalDatabaseWriteLatencyTriggerProps
|
|
310
|
-
extends TriggerWithCustomComparison,
|
|
311
|
-
TriggerWithCustomStatFunction {
|
|
321
|
+
extends TriggerWithCustomComparison, TriggerWithCustomStatFunction {
|
|
312
322
|
/**
|
|
313
323
|
* #### Fires when average write I/O latency exceeds this value (seconds).
|
|
314
324
|
*/
|
|
@@ -321,8 +331,7 @@ interface RelationalDatabaseCPUUtilizationTrigger {
|
|
|
321
331
|
}
|
|
322
332
|
|
|
323
333
|
interface RelationalDatabaseCPUUtilizationTriggerProps
|
|
324
|
-
extends TriggerWithCustomComparison,
|
|
325
|
-
TriggerWithCustomStatFunction {
|
|
334
|
+
extends TriggerWithCustomComparison, TriggerWithCustomStatFunction {
|
|
326
335
|
/**
|
|
327
336
|
* #### Fires when CPU utilization exceeds this percentage.
|
|
328
337
|
*/
|
|
@@ -351,8 +360,7 @@ interface RelationalDatabaseConnectionCountTrigger {
|
|
|
351
360
|
}
|
|
352
361
|
|
|
353
362
|
interface RelationalDatabaseConnectionCountTriggerProps
|
|
354
|
-
extends TriggerWithCustomComparison,
|
|
355
|
-
TriggerWithCustomStatFunction {
|
|
363
|
+
extends TriggerWithCustomComparison, TriggerWithCustomStatFunction {
|
|
356
364
|
/**
|
|
357
365
|
* #### Fires when the number of active database connections exceeds this value.
|
|
358
366
|
*/
|
|
@@ -387,6 +395,7 @@ type ComparisonOperator =
|
|
|
387
395
|
type AlarmNotificationEventRuleInput = {
|
|
388
396
|
description: string;
|
|
389
397
|
time: string;
|
|
398
|
+
stateValue: string;
|
|
390
399
|
alarmAwsResourceName: string;
|
|
391
400
|
stackName: string;
|
|
392
401
|
alarmConfig: AlarmDefinition;
|
package/ai-docs/index.json
CHANGED