stacktape 3.1.1 → 3.2.0-beta.10

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.
Files changed (6) hide show
  1. package/index.d.ts +27 -1
  2. package/index.js +444 -458
  3. package/package.json +1 -1
  4. package/sdk.d.ts +47 -7
  5. package/sdk.js +11257 -12326
  6. package/types.d.ts +277 -4
package/index.d.ts CHANGED
@@ -94,10 +94,26 @@ export {
94
94
  LambdaEfsMount,
95
95
  CognitoAuthorizer,
96
96
  LambdaAuthorizer,
97
+ ApplicationLoadBalancerCustomTrigger,
98
+ ApplicationLoadBalancerErrorRateTrigger,
99
+ ApplicationLoadBalancerUnhealthyTargetsTrigger,
100
+ HttpApiGatewayErrorRateTrigger,
101
+ HttpApiGatewayLatencyTrigger,
102
+ RelationalDatabaseReadLatencyTrigger,
103
+ RelationalDatabaseWriteLatencyTrigger,
104
+ RelationalDatabaseCPUUtilizationTrigger,
105
+ RelationalDatabaseFreeStorageTrigger,
106
+ RelationalDatabaseFreeMemoryTrigger,
107
+ RelationalDatabaseConnectionCountTrigger,
108
+ SqsQueueReceivedMessagesCountTrigger,
109
+ SqsQueueNotEmptyTrigger,
110
+ LambdaErrorRateTrigger,
111
+ LambdaDurationTrigger,
97
112
  CustomResourceDefinition,
98
113
  CustomResourceInstance,
99
114
  DeploymentScript,
100
- EdgeLambdaFunction
115
+ EdgeLambdaFunction,
116
+ Alarm
101
117
  } from './types';
102
118
 
103
119
  // ==========================================
@@ -165,6 +181,16 @@ export declare const $CfStackOutput: (stackName: string, outputName: string) =>
165
181
  * $GitInfo().describe - The most recent tag that is reachable from a commit
166
182
  */
167
183
  export declare const $GitInfo: () => string;
184
+ /**
185
+ * Returns the current AWS region where the stack is being deployed.
186
+ * Example: `us-east-1`
187
+ */
188
+ export declare const $Region: () => string;
189
+ /**
190
+ * Returns the current stage name.
191
+ * Example: `production`, `staging`, `dev`
192
+ */
193
+ export declare const $Stage: () => string;
168
194
 
169
195
  // ==========================================
170
196
  // AWS SERVICE CONSTANTS