stacktape 3.2.0 → 3.2.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/index.d.ts +10 -10
- package/package.json +1 -1
- package/{sdk.d.ts → plain.d.ts} +1 -1
- package/types.d.ts +111 -111
package/index.d.ts
CHANGED
|
@@ -210,28 +210,28 @@ export declare const AWS_SES: "aws:ses";
|
|
|
210
210
|
* Resources section type (accepts class instances).
|
|
211
211
|
* Use this with defineConfig for enhanced type-safe configs.
|
|
212
212
|
*/
|
|
213
|
-
export type StacktapeResources = { [resourceName: string]: RelationalDatabase | WebService | PrivateService | WorkerService | MultiContainerWorkload | LambdaFunction | BatchJob | Bucket | HostingBucket | DynamoDbTable | EventBus | HttpApiGateway | ApplicationLoadBalancer | NetworkLoadBalancer | RedisCluster | MongoDbAtlasCluster | StateMachine | UserAuthPool | UpstashRedis | SqsQueue | SnsTopic | WebAppFirewall | OpenSearchDomain | EfsFilesystem | NextjsWeb | Bastion | import('./
|
|
213
|
+
export type StacktapeResources = { [resourceName: string]: RelationalDatabase | WebService | PrivateService | WorkerService | MultiContainerWorkload | LambdaFunction | BatchJob | Bucket | HostingBucket | DynamoDbTable | EventBus | HttpApiGateway | ApplicationLoadBalancer | NetworkLoadBalancer | RedisCluster | MongoDbAtlasCluster | StateMachine | UserAuthPool | UpstashRedis | SqsQueue | SnsTopic | WebAppFirewall | OpenSearchDomain | EfsFilesystem | NextjsWeb | Bastion | import('./plain').StacktapeResourceDefinition };
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* Scripts section type (accepts class instances).
|
|
217
217
|
* Use this with defineConfig for enhanced type-safe configs.
|
|
218
218
|
*/
|
|
219
|
-
export type StacktapeScripts = { [scriptName: string]: LocalScript | BastionScript | LocalScriptWithBastionTunneling | import('./
|
|
219
|
+
export type StacktapeScripts = { [scriptName: string]: LocalScript | BastionScript | LocalScriptWithBastionTunneling | import('./plain').LocalScript | import('./plain').BastionScript | import('./plain').LocalScriptWithBastionTunneling };
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Hooks section type.
|
|
223
223
|
*/
|
|
224
|
-
export type StacktapeHooks = import('./
|
|
224
|
+
export type StacktapeHooks = import('./plain').Hooks;
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Deployment config section type.
|
|
228
228
|
*/
|
|
229
|
-
export type StacktapeDeploymentConfig = import('./
|
|
229
|
+
export type StacktapeDeploymentConfig = import('./plain').DeploymentConfig;
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
232
|
* Stack config section type.
|
|
233
233
|
*/
|
|
234
|
-
export type StacktapeStackConfig = import('./
|
|
234
|
+
export type StacktapeStackConfig = import('./plain').StackConfig;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* Cloudformation resources section type.
|
|
@@ -246,25 +246,25 @@ export type StacktapeCloudformationResource = import('./cloudformation').CloudFo
|
|
|
246
246
|
/**
|
|
247
247
|
* Stack outputs type (stackConfig.outputs).
|
|
248
248
|
*/
|
|
249
|
-
export type StacktapeOutputs = import('./
|
|
249
|
+
export type StacktapeOutputs = import('./plain').StackConfig['outputs'];
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* Variables section type.
|
|
253
253
|
*/
|
|
254
|
-
export type StacktapeVariables = import('./
|
|
254
|
+
export type StacktapeVariables = import('./plain').StacktapeConfig['variables'];
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* Provider config section type.
|
|
258
258
|
*/
|
|
259
|
-
export type StacktapeProviderConfig = import('./
|
|
259
|
+
export type StacktapeProviderConfig = import('./plain').StacktapeConfig['providerConfig'];
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
* Budget control section type.
|
|
263
263
|
*/
|
|
264
|
-
export type StacktapeBudgetControl = import('./
|
|
264
|
+
export type StacktapeBudgetControl = import('./plain').BudgetControl;
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
267
|
* Directives section type.
|
|
268
268
|
*/
|
|
269
|
-
export type StacktapeDirectives = import('./
|
|
269
|
+
export type StacktapeDirectives = import('./plain').StacktapeConfig['directives'];
|
|
270
270
|
|
package/package.json
CHANGED
package/{sdk.d.ts → plain.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
// Generated file - Do not edit manually
|
|
4
|
-
// Plain
|
|
4
|
+
// Plain types (YAML-equivalent) - no class augmentation
|
|
5
5
|
// For class-based types, use: import { X } from 'stacktape'
|
|
6
6
|
|
|
7
7
|
export type StacktapeResourceDefinition =
|
package/types.d.ts
CHANGED
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
// For plain configs using getConfig pattern
|
|
6
6
|
|
|
7
7
|
// ==========================================
|
|
8
|
-
//
|
|
8
|
+
// PLAIN TYPE RE-EXPORTS
|
|
9
9
|
// ==========================================
|
|
10
10
|
|
|
11
11
|
export type {
|
|
12
|
-
WebServiceProps as
|
|
13
|
-
PrivateServiceProps as
|
|
14
|
-
WorkerServiceProps as
|
|
15
|
-
ContainerWorkloadProps as
|
|
16
|
-
LambdaFunctionProps as
|
|
17
|
-
BatchJobProps as
|
|
18
|
-
StateMachineProps as
|
|
19
|
-
NextjsWebProps as
|
|
20
|
-
LocalScriptProps as
|
|
21
|
-
BastionScriptProps as
|
|
22
|
-
LocalScriptWithBastionTunnelingProps as
|
|
12
|
+
WebServiceProps as PlainWebServiceProps,
|
|
13
|
+
PrivateServiceProps as PlainPrivateServiceProps,
|
|
14
|
+
WorkerServiceProps as PlainWorkerServiceProps,
|
|
15
|
+
ContainerWorkloadProps as PlainContainerWorkloadProps,
|
|
16
|
+
LambdaFunctionProps as PlainLambdaFunctionProps,
|
|
17
|
+
BatchJobProps as PlainBatchJobProps,
|
|
18
|
+
StateMachineProps as PlainStateMachineProps,
|
|
19
|
+
NextjsWebProps as PlainNextjsWebProps,
|
|
20
|
+
LocalScriptProps as PlainLocalScriptProps,
|
|
21
|
+
BastionScriptProps as PlainBastionScriptProps,
|
|
22
|
+
LocalScriptWithBastionTunnelingProps as PlainLocalScriptWithBastionTunnelingProps,
|
|
23
23
|
RelationalDatabaseProps,
|
|
24
24
|
BucketProps,
|
|
25
25
|
HostingBucketProps,
|
|
@@ -106,7 +106,7 @@ export type {
|
|
|
106
106
|
EdgeLambdaFunctionProps,
|
|
107
107
|
AlarmUserIntegration,
|
|
108
108
|
StpIamRoleStatement
|
|
109
|
-
} from './
|
|
109
|
+
} from './plain';
|
|
110
110
|
|
|
111
111
|
// ==========================================
|
|
112
112
|
// CONFIG TYPES
|
|
@@ -1884,8 +1884,8 @@ export declare class MongoDbAtlasCluster extends BaseResource {
|
|
|
1884
1884
|
*
|
|
1885
1885
|
* A fully managed MongoDB Atlas cluster that is automatically deployed to your AWS account and managed within your stack.
|
|
1886
1886
|
*/
|
|
1887
|
-
constructor(properties:
|
|
1888
|
-
constructor(name: string, properties:
|
|
1887
|
+
constructor(properties: import('./plain').MongoDbAtlasClusterProps);
|
|
1888
|
+
constructor(name: string, properties: import('./plain').MongoDbAtlasClusterProps);
|
|
1889
1889
|
/** MongoDB connection string */
|
|
1890
1890
|
readonly connectionString: string;
|
|
1891
1891
|
}
|
|
@@ -1931,8 +1931,8 @@ export declare class UpstashRedis extends BaseResource {
|
|
|
1931
1931
|
*
|
|
1932
1932
|
* Upstash Redis is designed for low-latency data storage and caching at the edge, making it ideal for serverless and globally distributed applications.
|
|
1933
1933
|
*/
|
|
1934
|
-
constructor(properties:
|
|
1935
|
-
constructor(name: string, properties:
|
|
1934
|
+
constructor(properties: import('./plain').UpstashRedisProps);
|
|
1935
|
+
constructor(name: string, properties: import('./plain').UpstashRedisProps);
|
|
1936
1936
|
/** Upstash Redis host */
|
|
1937
1937
|
readonly host: string;
|
|
1938
1938
|
/** Upstash Redis port */
|
|
@@ -2069,7 +2069,7 @@ export declare class RdsEnginePostgres extends BaseTypeProperties {
|
|
|
2069
2069
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2070
2070
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2071
2071
|
*/
|
|
2072
|
-
constructor(properties: RdsEngineProperties);
|
|
2072
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2073
2073
|
readonly type: 'postgres';
|
|
2074
2074
|
}
|
|
2075
2075
|
|
|
@@ -2085,7 +2085,7 @@ export declare class RdsEngineMariadb extends BaseTypeProperties {
|
|
|
2085
2085
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2086
2086
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2087
2087
|
*/
|
|
2088
|
-
constructor(properties: RdsEngineProperties);
|
|
2088
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2089
2089
|
readonly type: 'mariadb';
|
|
2090
2090
|
}
|
|
2091
2091
|
|
|
@@ -2101,7 +2101,7 @@ export declare class RdsEngineMysql extends BaseTypeProperties {
|
|
|
2101
2101
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2102
2102
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2103
2103
|
*/
|
|
2104
|
-
constructor(properties: RdsEngineProperties);
|
|
2104
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2105
2105
|
readonly type: 'mysql';
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
@@ -2117,7 +2117,7 @@ export declare class RdsEngineOracleEE extends BaseTypeProperties {
|
|
|
2117
2117
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2118
2118
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2119
2119
|
*/
|
|
2120
|
-
constructor(properties: RdsEngineProperties);
|
|
2120
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2121
2121
|
readonly type: 'oracle-ee';
|
|
2122
2122
|
}
|
|
2123
2123
|
|
|
@@ -2133,7 +2133,7 @@ export declare class RdsEngineOracleSE2 extends BaseTypeProperties {
|
|
|
2133
2133
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2134
2134
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2135
2135
|
*/
|
|
2136
|
-
constructor(properties: RdsEngineProperties);
|
|
2136
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2137
2137
|
readonly type: 'oracle-se2';
|
|
2138
2138
|
}
|
|
2139
2139
|
|
|
@@ -2149,7 +2149,7 @@ export declare class RdsEngineSqlServerEE extends BaseTypeProperties {
|
|
|
2149
2149
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2150
2150
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2151
2151
|
*/
|
|
2152
|
-
constructor(properties: RdsEngineProperties);
|
|
2152
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2153
2153
|
readonly type: 'sqlserver-ee';
|
|
2154
2154
|
}
|
|
2155
2155
|
|
|
@@ -2165,7 +2165,7 @@ export declare class RdsEngineSqlServerEX extends BaseTypeProperties {
|
|
|
2165
2165
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2166
2166
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2167
2167
|
*/
|
|
2168
|
-
constructor(properties: RdsEngineProperties);
|
|
2168
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2169
2169
|
readonly type: 'sqlserver-ex';
|
|
2170
2170
|
}
|
|
2171
2171
|
|
|
@@ -2181,7 +2181,7 @@ export declare class RdsEngineSqlServerSE extends BaseTypeProperties {
|
|
|
2181
2181
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2182
2182
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2183
2183
|
*/
|
|
2184
|
-
constructor(properties: RdsEngineProperties);
|
|
2184
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2185
2185
|
readonly type: 'sqlserver-se';
|
|
2186
2186
|
}
|
|
2187
2187
|
|
|
@@ -2197,7 +2197,7 @@ export declare class RdsEngineSqlServerWeb extends BaseTypeProperties {
|
|
|
2197
2197
|
* RDS handles routine database tasks such as provisioning, patching, backup, recovery,
|
|
2198
2198
|
* and failure detection. For high availability, enable multi-AZ deployment.
|
|
2199
2199
|
*/
|
|
2200
|
-
constructor(properties: RdsEngineProperties);
|
|
2200
|
+
constructor(properties: import('./plain').RdsEngineProperties);
|
|
2201
2201
|
readonly type: 'sqlserver-web';
|
|
2202
2202
|
}
|
|
2203
2203
|
|
|
@@ -2213,7 +2213,7 @@ export declare class AuroraEnginePostgresql extends BaseTypeProperties {
|
|
|
2213
2213
|
* Aurora automatically replicates data across multiple Availability Zones for high availability
|
|
2214
2214
|
* and provides automatic failover with read replicas.
|
|
2215
2215
|
*/
|
|
2216
|
-
constructor(properties: AuroraEngineProperties);
|
|
2216
|
+
constructor(properties: import('./plain').AuroraEngineProperties);
|
|
2217
2217
|
readonly type: 'aurora-postgresql';
|
|
2218
2218
|
}
|
|
2219
2219
|
|
|
@@ -2229,7 +2229,7 @@ export declare class AuroraEngineMysql extends BaseTypeProperties {
|
|
|
2229
2229
|
* Aurora automatically replicates data across multiple Availability Zones for high availability
|
|
2230
2230
|
* and provides automatic failover with read replicas.
|
|
2231
2231
|
*/
|
|
2232
|
-
constructor(properties: AuroraEngineProperties);
|
|
2232
|
+
constructor(properties: import('./plain').AuroraEngineProperties);
|
|
2233
2233
|
readonly type: 'aurora-mysql';
|
|
2234
2234
|
}
|
|
2235
2235
|
|
|
@@ -2245,7 +2245,7 @@ export declare class AuroraServerlessEnginePostgresql extends BaseTypeProperties
|
|
|
2245
2245
|
*
|
|
2246
2246
|
* **Note:** For new projects, consider using Aurora Serverless v2 which offers better scaling.
|
|
2247
2247
|
*/
|
|
2248
|
-
constructor(properties: AuroraServerlessEngineProperties);
|
|
2248
|
+
constructor(properties: import('./plain').AuroraServerlessEngineProperties);
|
|
2249
2249
|
readonly type: 'aurora-postgresql-serverless';
|
|
2250
2250
|
}
|
|
2251
2251
|
|
|
@@ -2261,7 +2261,7 @@ export declare class AuroraServerlessEngineMysql extends BaseTypeProperties {
|
|
|
2261
2261
|
*
|
|
2262
2262
|
* **Note:** For new projects, consider using Aurora Serverless v2 which offers better scaling.
|
|
2263
2263
|
*/
|
|
2264
|
-
constructor(properties: AuroraServerlessEngineProperties);
|
|
2264
|
+
constructor(properties: import('./plain').AuroraServerlessEngineProperties);
|
|
2265
2265
|
readonly type: 'aurora-mysql-serverless';
|
|
2266
2266
|
}
|
|
2267
2267
|
|
|
@@ -2277,7 +2277,7 @@ export declare class AuroraServerlessV2EnginePostgresql extends BaseTypeProperti
|
|
|
2277
2277
|
* This is the recommended serverless engine for most use cases, offering better performance
|
|
2278
2278
|
* and more granular scaling than v1.
|
|
2279
2279
|
*/
|
|
2280
|
-
constructor(properties: AuroraServerlessV2EngineProperties);
|
|
2280
|
+
constructor(properties: import('./plain').AuroraServerlessV2EngineProperties);
|
|
2281
2281
|
readonly type: 'aurora-postgresql-serverless-v2';
|
|
2282
2282
|
}
|
|
2283
2283
|
|
|
@@ -2293,7 +2293,7 @@ export declare class AuroraServerlessV2EngineMysql extends BaseTypeProperties {
|
|
|
2293
2293
|
* This is the recommended serverless engine for most use cases, offering better performance
|
|
2294
2294
|
* and more granular scaling than v1.
|
|
2295
2295
|
*/
|
|
2296
|
-
constructor(properties: AuroraServerlessV2EngineProperties);
|
|
2296
|
+
constructor(properties: import('./plain').AuroraServerlessV2EngineProperties);
|
|
2297
2297
|
readonly type: 'aurora-mysql-serverless-v2';
|
|
2298
2298
|
}
|
|
2299
2299
|
|
|
@@ -2310,7 +2310,7 @@ export declare class StacktapeLambdaBuildpackPackaging extends BaseTypePropertie
|
|
|
2310
2310
|
* For JS/TS, your code is bundled into a single file. Source maps are automatically generated.
|
|
2311
2311
|
* Packages are cached based on a checksum, so unchanged code is not re-packaged.
|
|
2312
2312
|
*/
|
|
2313
|
-
constructor(properties: StpBuildpackLambdaPackagingProps);
|
|
2313
|
+
constructor(properties: import('./plain').StpBuildpackLambdaPackagingProps);
|
|
2314
2314
|
readonly type: 'stacktape-lambda-buildpack';
|
|
2315
2315
|
}
|
|
2316
2316
|
|
|
@@ -2325,7 +2325,7 @@ export declare class CustomArtifactLambdaPackaging extends BaseTypeProperties {
|
|
|
2325
2325
|
*
|
|
2326
2326
|
* This is useful when you have custom build processes or need full control over the packaging.
|
|
2327
2327
|
*/
|
|
2328
|
-
constructor(properties: CustomArtifactLambdaPackagingProps);
|
|
2328
|
+
constructor(properties: import('./plain').CustomArtifactLambdaPackagingProps);
|
|
2329
2329
|
readonly type: 'custom-artifact';
|
|
2330
2330
|
}
|
|
2331
2331
|
|
|
@@ -2340,7 +2340,7 @@ export declare class PrebuiltImagePackaging extends BaseTypeProperties {
|
|
|
2340
2340
|
*
|
|
2341
2341
|
* For private registries, configure `repositoryCredentialsSecretArn` with credentials stored in AWS Secrets Manager.
|
|
2342
2342
|
*/
|
|
2343
|
-
constructor(properties: PrebuiltImageCwPackagingProps);
|
|
2343
|
+
constructor(properties: import('./plain').PrebuiltImageCwPackagingProps);
|
|
2344
2344
|
readonly type: 'prebuilt-image';
|
|
2345
2345
|
}
|
|
2346
2346
|
|
|
@@ -2355,7 +2355,7 @@ export declare class CustomDockerfilePackaging extends BaseTypeProperties {
|
|
|
2355
2355
|
*
|
|
2356
2356
|
* This gives you full control over the container environment and is ideal for complex setups.
|
|
2357
2357
|
*/
|
|
2358
|
-
constructor(properties: CustomDockerfileCwImagePackagingProps);
|
|
2358
|
+
constructor(properties: import('./plain').CustomDockerfileCwImagePackagingProps);
|
|
2359
2359
|
readonly type: 'custom-dockerfile';
|
|
2360
2360
|
}
|
|
2361
2361
|
|
|
@@ -2371,7 +2371,7 @@ export declare class ExternalBuildpackPackaging extends BaseTypeProperties {
|
|
|
2371
2371
|
* The default builder is `paketobuildpacks/builder-jammy-base`.
|
|
2372
2372
|
* You can find buildpacks for almost any language or framework.
|
|
2373
2373
|
*/
|
|
2374
|
-
constructor(properties: ExternalBuildpackCwImagePackagingProps);
|
|
2374
|
+
constructor(properties: import('./plain').ExternalBuildpackCwImagePackagingProps);
|
|
2375
2375
|
readonly type: 'external-buildpack';
|
|
2376
2376
|
}
|
|
2377
2377
|
|
|
@@ -2386,7 +2386,7 @@ export declare class NixpacksPackaging extends BaseTypeProperties {
|
|
|
2386
2386
|
*
|
|
2387
2387
|
* It supports a wide range of languages and frameworks out of the box.
|
|
2388
2388
|
*/
|
|
2389
|
-
constructor(properties: NixpacksCwImagePackagingProps);
|
|
2389
|
+
constructor(properties: import('./plain').NixpacksCwImagePackagingProps);
|
|
2390
2390
|
readonly type: 'nixpacks';
|
|
2391
2391
|
}
|
|
2392
2392
|
|
|
@@ -2403,7 +2403,7 @@ export declare class StacktapeImageBuildpackPackaging extends BaseTypeProperties
|
|
|
2403
2403
|
* For JS/TS, your code is bundled into a single file with source maps.
|
|
2404
2404
|
* The resulting image is uploaded to a managed ECR repository.
|
|
2405
2405
|
*/
|
|
2406
|
-
constructor(properties: StpBuildpackCwImagePackagingProps);
|
|
2406
|
+
constructor(properties: import('./plain').StpBuildpackCwImagePackagingProps);
|
|
2407
2407
|
readonly type: 'stacktape-image-buildpack';
|
|
2408
2408
|
}
|
|
2409
2409
|
|
|
@@ -2415,7 +2415,7 @@ export declare class HttpApiIntegration extends BaseTypeProperties {
|
|
|
2415
2415
|
*
|
|
2416
2416
|
* Routes are selected based on the most specific match. For more details on route evaluation, see the [AWS documentation](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-routes.html#http-api-develop-routes.evaluation).
|
|
2417
2417
|
*/
|
|
2418
|
-
constructor(properties: HttpApiIntegrationProps);
|
|
2418
|
+
constructor(properties: import('./plain').HttpApiIntegrationProps);
|
|
2419
2419
|
readonly type: 'http-api-gateway';
|
|
2420
2420
|
}
|
|
2421
2421
|
|
|
@@ -2427,7 +2427,7 @@ export declare class S3Integration extends BaseTypeProperties {
|
|
|
2427
2427
|
*
|
|
2428
2428
|
* For a list of supported event types, see the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html#supported-notification-event-types).
|
|
2429
2429
|
*/
|
|
2430
|
-
constructor(properties: S3IntegrationProps);
|
|
2430
|
+
constructor(properties: import('./plain').S3IntegrationProps);
|
|
2431
2431
|
readonly type: 's3';
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
@@ -2441,7 +2441,7 @@ export declare class ScheduleIntegration extends BaseTypeProperties {
|
|
|
2441
2441
|
* - **Rate expressions**: Run at a regular interval (e.g., `rate(5 minutes)`). See the [AWS documentation on rate expressions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#RateExpressions).
|
|
2442
2442
|
* - **Cron expressions**: Run at specific times (e.g., `cron(0 18 ? * MON-FRI *)`). See the [AWS documentation on cron expressions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions).
|
|
2443
2443
|
*/
|
|
2444
|
-
constructor(properties: ScheduleIntegrationProps);
|
|
2444
|
+
constructor(properties: import('./plain').ScheduleIntegrationProps);
|
|
2445
2445
|
readonly type: 'schedule';
|
|
2446
2446
|
}
|
|
2447
2447
|
|
|
@@ -2455,7 +2455,7 @@ export declare class SnsIntegration extends BaseTypeProperties {
|
|
|
2455
2455
|
*
|
|
2456
2456
|
* To add a custom SNS topic to your stack, define it as a [CloudFormation resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html) in the `cloudformationResources` section of your configuration.
|
|
2457
2457
|
*/
|
|
2458
|
-
constructor(properties: SnsIntegrationProps);
|
|
2458
|
+
constructor(properties: import('./plain').SnsIntegrationProps);
|
|
2459
2459
|
readonly type: 'sns';
|
|
2460
2460
|
}
|
|
2461
2461
|
|
|
@@ -2476,7 +2476,7 @@ export declare class SqsIntegration extends BaseTypeProperties {
|
|
|
2476
2476
|
* - The maximum batch size (`batchSize`) is reached.
|
|
2477
2477
|
* - The maximum payload size (6 MB) is reached.
|
|
2478
2478
|
*/
|
|
2479
|
-
constructor(properties: SqsIntegrationProps);
|
|
2479
|
+
constructor(properties: import('./plain').SqsIntegrationProps);
|
|
2480
2480
|
readonly type: 'sqs';
|
|
2481
2481
|
}
|
|
2482
2482
|
|
|
@@ -2495,7 +2495,7 @@ export declare class KinesisIntegration extends BaseTypeProperties {
|
|
|
2495
2495
|
* - **Directly**: Polls each shard once per second. Read throughput is shared with other consumers.
|
|
2496
2496
|
* - **Stream Consumer**: Provides a dedicated connection to each shard for higher throughput and lower latency.
|
|
2497
2497
|
*/
|
|
2498
|
-
constructor(properties: KinesisIntegrationProps);
|
|
2498
|
+
constructor(properties: import('./plain').KinesisIntegrationProps);
|
|
2499
2499
|
readonly type: 'kinesis';
|
|
2500
2500
|
}
|
|
2501
2501
|
|
|
@@ -2509,7 +2509,7 @@ export declare class DynamoDbIntegration extends BaseTypeProperties {
|
|
|
2509
2509
|
* Records are processed in batches.
|
|
2510
2510
|
* To use this, you must enable streams on your DynamoDB table. For more information, see the [DynamoDB table documentation](https://docs.stacktape.com/resources/dynamo-db-tables/#item-change-streaming).
|
|
2511
2511
|
*/
|
|
2512
|
-
constructor(properties: DynamoDbIntegrationProps);
|
|
2512
|
+
constructor(properties: import('./plain').DynamoDbIntegrationProps);
|
|
2513
2513
|
readonly type: 'dynamodb';
|
|
2514
2514
|
}
|
|
2515
2515
|
|
|
@@ -2521,7 +2521,7 @@ export declare class CloudwatchLogIntegration extends BaseTypeProperties {
|
|
|
2521
2521
|
*
|
|
2522
2522
|
* > **Note:** The event payload is BASE64-encoded and gzipped. You will need to decode and decompress it in your function to access the log data.
|
|
2523
2523
|
*/
|
|
2524
|
-
constructor(properties: CloudwatchLogIntegrationProps);
|
|
2524
|
+
constructor(properties: import('./plain').CloudwatchLogIntegrationProps);
|
|
2525
2525
|
readonly type: 'cloudwatch-logs';
|
|
2526
2526
|
}
|
|
2527
2527
|
|
|
@@ -2533,7 +2533,7 @@ export declare class ApplicationLoadBalancerIntegration extends BaseTypeProperti
|
|
|
2533
2533
|
*
|
|
2534
2534
|
* You can route requests based on HTTP method, path, headers, query parameters, and source IP address.
|
|
2535
2535
|
*/
|
|
2536
|
-
constructor(properties: ApplicationLoadBalancerIntegrationProps);
|
|
2536
|
+
constructor(properties: import('./plain').ApplicationLoadBalancerIntegrationProps);
|
|
2537
2537
|
readonly type: 'application-load-balancer';
|
|
2538
2538
|
}
|
|
2539
2539
|
|
|
@@ -2545,7 +2545,7 @@ export declare class EventBusIntegration extends BaseTypeProperties {
|
|
|
2545
2545
|
*
|
|
2546
2546
|
* You can use a custom event bus or the default AWS event bus.
|
|
2547
2547
|
*/
|
|
2548
|
-
constructor(properties: EventBusIntegrationProps);
|
|
2548
|
+
constructor(properties: import('./plain').EventBusIntegrationProps);
|
|
2549
2549
|
readonly type: 'event-bus';
|
|
2550
2550
|
}
|
|
2551
2551
|
|
|
@@ -2553,7 +2553,7 @@ export declare class KafkaTopicIntegration extends BaseTypeProperties {
|
|
|
2553
2553
|
/**
|
|
2554
2554
|
* #### Triggers a function when new messages are available in a Kafka topic.
|
|
2555
2555
|
*/
|
|
2556
|
-
constructor(properties: KafkaTopicIntegrationProps);
|
|
2556
|
+
constructor(properties: import('./plain').KafkaTopicIntegrationProps);
|
|
2557
2557
|
readonly type: 'kafka-topic';
|
|
2558
2558
|
}
|
|
2559
2559
|
|
|
@@ -2561,7 +2561,7 @@ export declare class AlarmIntegration extends BaseTypeProperties {
|
|
|
2561
2561
|
/**
|
|
2562
2562
|
* Create a AlarmIntegration
|
|
2563
2563
|
*/
|
|
2564
|
-
constructor(properties: AlarmIntegrationProps);
|
|
2564
|
+
constructor(properties: import('./plain').AlarmIntegrationProps);
|
|
2565
2565
|
readonly type: 'alarm';
|
|
2566
2566
|
}
|
|
2567
2567
|
|
|
@@ -2569,7 +2569,7 @@ export declare class IotIntegration extends BaseTypeProperties {
|
|
|
2569
2569
|
/**
|
|
2570
2570
|
* Create a IotIntegration
|
|
2571
2571
|
*/
|
|
2572
|
-
constructor(properties: IotIntegrationProps);
|
|
2572
|
+
constructor(properties: import('./plain').IotIntegrationProps);
|
|
2573
2573
|
readonly type: 'iot';
|
|
2574
2574
|
}
|
|
2575
2575
|
|
|
@@ -2577,7 +2577,7 @@ export declare class CdnLoadBalancerRoute extends BaseTypeProperties {
|
|
|
2577
2577
|
/**
|
|
2578
2578
|
* Create a CdnLoadBalancerRoute
|
|
2579
2579
|
*/
|
|
2580
|
-
constructor(properties: CdnLoadBalancerOrigin);
|
|
2580
|
+
constructor(properties: import('./plain').CdnLoadBalancerOrigin);
|
|
2581
2581
|
readonly type: 'application-load-balancer';
|
|
2582
2582
|
}
|
|
2583
2583
|
|
|
@@ -2585,7 +2585,7 @@ export declare class CdnHttpApiGatewayRoute extends BaseTypeProperties {
|
|
|
2585
2585
|
/**
|
|
2586
2586
|
* Create a CdnHttpApiGatewayRoute
|
|
2587
2587
|
*/
|
|
2588
|
-
constructor(properties: CdnHttpApiGatewayOrigin);
|
|
2588
|
+
constructor(properties: import('./plain').CdnHttpApiGatewayOrigin);
|
|
2589
2589
|
readonly type: 'http-api-gateway';
|
|
2590
2590
|
}
|
|
2591
2591
|
|
|
@@ -2593,7 +2593,7 @@ export declare class CdnLambdaFunctionRoute extends BaseTypeProperties {
|
|
|
2593
2593
|
/**
|
|
2594
2594
|
* Create a CdnLambdaFunctionRoute
|
|
2595
2595
|
*/
|
|
2596
|
-
constructor(properties: CdnLambdaFunctionOrigin);
|
|
2596
|
+
constructor(properties: import('./plain').CdnLambdaFunctionOrigin);
|
|
2597
2597
|
readonly type: 'function';
|
|
2598
2598
|
}
|
|
2599
2599
|
|
|
@@ -2601,7 +2601,7 @@ export declare class CdnCustomDomainRoute extends BaseTypeProperties {
|
|
|
2601
2601
|
/**
|
|
2602
2602
|
* Create a CdnCustomDomainRoute
|
|
2603
2603
|
*/
|
|
2604
|
-
constructor(properties: CdnCustomOrigin);
|
|
2604
|
+
constructor(properties: import('./plain').CdnCustomOrigin);
|
|
2605
2605
|
readonly type: 'custom-origin';
|
|
2606
2606
|
}
|
|
2607
2607
|
|
|
@@ -2609,7 +2609,7 @@ export declare class CdnBucketRoute extends BaseTypeProperties {
|
|
|
2609
2609
|
/**
|
|
2610
2610
|
* Create a CdnBucketRoute
|
|
2611
2611
|
*/
|
|
2612
|
-
constructor(properties: CdnBucketOrigin);
|
|
2612
|
+
constructor(properties: import('./plain').CdnBucketOrigin);
|
|
2613
2613
|
readonly type: 'bucket';
|
|
2614
2614
|
}
|
|
2615
2615
|
|
|
@@ -2617,7 +2617,7 @@ export declare class ManagedRuleGroup extends BaseTypeProperties {
|
|
|
2617
2617
|
/**
|
|
2618
2618
|
* Create a ManagedRuleGroup
|
|
2619
2619
|
*/
|
|
2620
|
-
constructor(properties: ManagedRuleGroupProps);
|
|
2620
|
+
constructor(properties: import('./plain').ManagedRuleGroupProps);
|
|
2621
2621
|
readonly type: 'managed-rule-group';
|
|
2622
2622
|
}
|
|
2623
2623
|
|
|
@@ -2625,7 +2625,7 @@ export declare class CustomRuleGroup extends BaseTypeProperties {
|
|
|
2625
2625
|
/**
|
|
2626
2626
|
* Create a CustomRuleGroup
|
|
2627
2627
|
*/
|
|
2628
|
-
constructor(properties: CustomRuleGroupProps);
|
|
2628
|
+
constructor(properties: import('./plain').CustomRuleGroupProps);
|
|
2629
2629
|
readonly type: 'custom-rule-group';
|
|
2630
2630
|
}
|
|
2631
2631
|
|
|
@@ -2633,7 +2633,7 @@ export declare class RateBasedRule extends BaseTypeProperties {
|
|
|
2633
2633
|
/**
|
|
2634
2634
|
* Create a RateBasedRule
|
|
2635
2635
|
*/
|
|
2636
|
-
constructor(properties: RateBasedStatementProps);
|
|
2636
|
+
constructor(properties: import('./plain').RateBasedStatementProps);
|
|
2637
2637
|
readonly type: 'rate-based-rule';
|
|
2638
2638
|
}
|
|
2639
2639
|
|
|
@@ -2641,7 +2641,7 @@ export declare class SqsQueueEventBusIntegration extends BaseTypeProperties {
|
|
|
2641
2641
|
/**
|
|
2642
2642
|
* #### Delivers messages to an SQS queue when an event matching a specified pattern is received by an event bus.
|
|
2643
2643
|
*/
|
|
2644
|
-
constructor(properties: SqsQueueEventBusIntegrationProps);
|
|
2644
|
+
constructor(properties: import('./plain').SqsQueueEventBusIntegrationProps);
|
|
2645
2645
|
readonly type: 'event-bus';
|
|
2646
2646
|
}
|
|
2647
2647
|
|
|
@@ -2649,7 +2649,7 @@ export declare class MultiContainerWorkloadHttpApiIntegration extends BaseTypePr
|
|
|
2649
2649
|
/**
|
|
2650
2650
|
* Create a MultiContainerWorkloadHttpApiIntegration
|
|
2651
2651
|
*/
|
|
2652
|
-
constructor(properties: ContainerWorkloadHttpApiIntegrationProps);
|
|
2652
|
+
constructor(properties: import('./plain').ContainerWorkloadHttpApiIntegrationProps);
|
|
2653
2653
|
readonly type: 'http-api-gateway';
|
|
2654
2654
|
}
|
|
2655
2655
|
|
|
@@ -2657,7 +2657,7 @@ export declare class MultiContainerWorkloadLoadBalancerIntegration extends BaseT
|
|
|
2657
2657
|
/**
|
|
2658
2658
|
* Create a MultiContainerWorkloadLoadBalancerIntegration
|
|
2659
2659
|
*/
|
|
2660
|
-
constructor(properties: ContainerWorkloadLoadBalancerIntegrationProps);
|
|
2660
|
+
constructor(properties: import('./plain').ContainerWorkloadLoadBalancerIntegrationProps);
|
|
2661
2661
|
readonly type: 'application-load-balancer';
|
|
2662
2662
|
}
|
|
2663
2663
|
|
|
@@ -2665,7 +2665,7 @@ export declare class MultiContainerWorkloadNetworkLoadBalancerIntegration extend
|
|
|
2665
2665
|
/**
|
|
2666
2666
|
* Create a MultiContainerWorkloadNetworkLoadBalancerIntegration
|
|
2667
2667
|
*/
|
|
2668
|
-
constructor(properties: ContainerWorkloadNetworkLoadBalancerIntegrationProps);
|
|
2668
|
+
constructor(properties: import('./plain').ContainerWorkloadNetworkLoadBalancerIntegrationProps);
|
|
2669
2669
|
readonly type: 'network-load-balancer';
|
|
2670
2670
|
}
|
|
2671
2671
|
|
|
@@ -2673,7 +2673,7 @@ export declare class MultiContainerWorkloadInternalIntegration extends BaseTypeP
|
|
|
2673
2673
|
/**
|
|
2674
2674
|
* Create a MultiContainerWorkloadInternalIntegration
|
|
2675
2675
|
*/
|
|
2676
|
-
constructor(properties: ContainerWorkloadInternalIntegrationProps);
|
|
2676
|
+
constructor(properties: import('./plain').ContainerWorkloadInternalIntegrationProps);
|
|
2677
2677
|
readonly type: 'workload-internal';
|
|
2678
2678
|
}
|
|
2679
2679
|
|
|
@@ -2681,7 +2681,7 @@ export declare class MultiContainerWorkloadServiceConnectIntegration extends Bas
|
|
|
2681
2681
|
/**
|
|
2682
2682
|
* Create a MultiContainerWorkloadServiceConnectIntegration
|
|
2683
2683
|
*/
|
|
2684
|
-
constructor(properties: ContainerWorkloadServiceConnectIntegrationProps);
|
|
2684
|
+
constructor(properties: import('./plain').ContainerWorkloadServiceConnectIntegrationProps);
|
|
2685
2685
|
readonly type: 'service-connect';
|
|
2686
2686
|
}
|
|
2687
2687
|
|
|
@@ -2696,7 +2696,7 @@ export declare class LocalScript extends BaseTypeProperties {
|
|
|
2696
2696
|
*
|
|
2697
2697
|
* The script must define one of the following: `executeCommand`, `executeScript`, `executeCommands`, or `executeScripts`.
|
|
2698
2698
|
*/
|
|
2699
|
-
constructor(properties: LocalScriptProps);
|
|
2699
|
+
constructor(properties: import('./plain').LocalScriptProps);
|
|
2700
2700
|
readonly type: 'local-script';
|
|
2701
2701
|
}
|
|
2702
2702
|
|
|
@@ -2712,7 +2712,7 @@ export declare class BastionScript extends BaseTypeProperties {
|
|
|
2712
2712
|
* This is useful for running commands that need direct access to VPC resources
|
|
2713
2713
|
* or for ensuring consistent execution environments across different machines.
|
|
2714
2714
|
*/
|
|
2715
|
-
constructor(properties: BastionScriptProps);
|
|
2715
|
+
constructor(properties: import('./plain').BastionScriptProps);
|
|
2716
2716
|
readonly type: 'bastion-script';
|
|
2717
2717
|
}
|
|
2718
2718
|
|
|
@@ -2728,7 +2728,7 @@ export declare class LocalScriptWithBastionTunneling extends BaseTypeProperties
|
|
|
2728
2728
|
*
|
|
2729
2729
|
* The environment variables injected by `connectTo` are automatically adjusted to use the tunneled endpoints.
|
|
2730
2730
|
*/
|
|
2731
|
-
constructor(properties: LocalScriptWithBastionTunnelingProps);
|
|
2731
|
+
constructor(properties: import('./plain').LocalScriptWithBastionTunnelingProps);
|
|
2732
2732
|
readonly type: 'local-script-with-bastion-tunneling';
|
|
2733
2733
|
}
|
|
2734
2734
|
|
|
@@ -2736,7 +2736,7 @@ export declare class HttpEndpointLogForwarding extends BaseTypeProperties {
|
|
|
2736
2736
|
/**
|
|
2737
2737
|
* Create a HttpEndpointLogForwarding
|
|
2738
2738
|
*/
|
|
2739
|
-
constructor(properties: HttpEndpointLogForwardingProps);
|
|
2739
|
+
constructor(properties: import('./plain').HttpEndpointLogForwardingProps);
|
|
2740
2740
|
readonly type: 'http-endpoint';
|
|
2741
2741
|
}
|
|
2742
2742
|
|
|
@@ -2744,7 +2744,7 @@ export declare class HighlightLogForwarding extends BaseTypeProperties {
|
|
|
2744
2744
|
/**
|
|
2745
2745
|
* Create a HighlightLogForwarding
|
|
2746
2746
|
*/
|
|
2747
|
-
constructor(properties: HighlightLogForwardingProps);
|
|
2747
|
+
constructor(properties: import('./plain').HighlightLogForwardingProps);
|
|
2748
2748
|
readonly type: 'highlight';
|
|
2749
2749
|
}
|
|
2750
2750
|
|
|
@@ -2752,7 +2752,7 @@ export declare class DatadogLogForwarding extends BaseTypeProperties {
|
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Create a DatadogLogForwarding
|
|
2754
2754
|
*/
|
|
2755
|
-
constructor(properties: DatadogLogForwardingProps);
|
|
2755
|
+
constructor(properties: import('./plain').DatadogLogForwardingProps);
|
|
2756
2756
|
readonly type: 'datadog';
|
|
2757
2757
|
}
|
|
2758
2758
|
|
|
@@ -2760,7 +2760,7 @@ export declare class ExpirationLifecycleRule extends BaseTypeProperties {
|
|
|
2760
2760
|
/**
|
|
2761
2761
|
* Create a ExpirationLifecycleRule
|
|
2762
2762
|
*/
|
|
2763
|
-
constructor(properties: ExpirationProps);
|
|
2763
|
+
constructor(properties: import('./plain').ExpirationProps);
|
|
2764
2764
|
readonly type: 'expiration';
|
|
2765
2765
|
}
|
|
2766
2766
|
|
|
@@ -2768,7 +2768,7 @@ export declare class NonCurrentVersionExpirationLifecycleRule extends BaseTypePr
|
|
|
2768
2768
|
/**
|
|
2769
2769
|
* Create a NonCurrentVersionExpirationLifecycleRule
|
|
2770
2770
|
*/
|
|
2771
|
-
constructor(properties: NonCurrentVersionExpirationProps);
|
|
2771
|
+
constructor(properties: import('./plain').NonCurrentVersionExpirationProps);
|
|
2772
2772
|
readonly type: 'non-current-version-expiration';
|
|
2773
2773
|
}
|
|
2774
2774
|
|
|
@@ -2776,7 +2776,7 @@ export declare class ContainerEfsMount extends BaseTypeProperties {
|
|
|
2776
2776
|
/**
|
|
2777
2777
|
* Create a ContainerEfsMount
|
|
2778
2778
|
*/
|
|
2779
|
-
constructor(properties: ContainerEfsMountProps);
|
|
2779
|
+
constructor(properties: import('./plain').ContainerEfsMountProps);
|
|
2780
2780
|
readonly type: 'efs';
|
|
2781
2781
|
}
|
|
2782
2782
|
|
|
@@ -2784,7 +2784,7 @@ export declare class LambdaEfsMount extends BaseTypeProperties {
|
|
|
2784
2784
|
/**
|
|
2785
2785
|
* Create a LambdaEfsMount
|
|
2786
2786
|
*/
|
|
2787
|
-
constructor(properties: LambdaEfsMountProps);
|
|
2787
|
+
constructor(properties: import('./plain').LambdaEfsMountProps);
|
|
2788
2788
|
readonly type: 'efs';
|
|
2789
2789
|
}
|
|
2790
2790
|
|
|
@@ -2792,7 +2792,7 @@ export declare class CognitoAuthorizer extends BaseTypeProperties {
|
|
|
2792
2792
|
/**
|
|
2793
2793
|
* Create a CognitoAuthorizer
|
|
2794
2794
|
*/
|
|
2795
|
-
constructor(properties: CognitoAuthorizerProperties);
|
|
2795
|
+
constructor(properties: import('./plain').CognitoAuthorizerProperties);
|
|
2796
2796
|
readonly type: 'cognito';
|
|
2797
2797
|
}
|
|
2798
2798
|
|
|
@@ -2800,7 +2800,7 @@ export declare class LambdaAuthorizer extends BaseTypeProperties {
|
|
|
2800
2800
|
/**
|
|
2801
2801
|
* Create a LambdaAuthorizer
|
|
2802
2802
|
*/
|
|
2803
|
-
constructor(properties: LambdaAuthorizerProperties);
|
|
2803
|
+
constructor(properties: import('./plain').LambdaAuthorizerProperties);
|
|
2804
2804
|
readonly type: 'lambda';
|
|
2805
2805
|
}
|
|
2806
2806
|
|
|
@@ -2808,7 +2808,7 @@ export declare class ApplicationLoadBalancerCustomTrigger extends BaseTypeProper
|
|
|
2808
2808
|
/**
|
|
2809
2809
|
* Triggers an alarm based on any Application Load Balancer CloudWatch metric (e.g., connection counts, request counts, target response times).
|
|
2810
2810
|
*/
|
|
2811
|
-
constructor(properties: ApplicationLoadBalancerCustomTriggerProps);
|
|
2811
|
+
constructor(properties: import('./plain').ApplicationLoadBalancerCustomTriggerProps);
|
|
2812
2812
|
readonly type: 'application-load-balancer-custom';
|
|
2813
2813
|
}
|
|
2814
2814
|
|
|
@@ -2816,7 +2816,7 @@ export declare class ApplicationLoadBalancerErrorRateTrigger extends BaseTypePro
|
|
|
2816
2816
|
/**
|
|
2817
2817
|
* Triggers an alarm when the Application Load Balancer error rate (percentage of 4xx/5xx responses) exceeds the threshold.
|
|
2818
2818
|
*/
|
|
2819
|
-
constructor(properties: ApplicationLoadBalancerErrorRateTriggerProps);
|
|
2819
|
+
constructor(properties: import('./plain').ApplicationLoadBalancerErrorRateTriggerProps);
|
|
2820
2820
|
readonly type: 'application-load-balancer-error-rate';
|
|
2821
2821
|
}
|
|
2822
2822
|
|
|
@@ -2824,7 +2824,7 @@ export declare class ApplicationLoadBalancerUnhealthyTargetsTrigger extends Base
|
|
|
2824
2824
|
/**
|
|
2825
2825
|
* Triggers an alarm when the percentage of unhealthy targets behind the Application Load Balancer exceeds the threshold.
|
|
2826
2826
|
*/
|
|
2827
|
-
constructor(properties: ApplicationLoadBalancerUnhealthyTargetsTriggerProps);
|
|
2827
|
+
constructor(properties: import('./plain').ApplicationLoadBalancerUnhealthyTargetsTriggerProps);
|
|
2828
2828
|
readonly type: 'application-load-balancer-unhealthy-targets';
|
|
2829
2829
|
}
|
|
2830
2830
|
|
|
@@ -2832,7 +2832,7 @@ export declare class HttpApiGatewayErrorRateTrigger extends BaseTypeProperties {
|
|
|
2832
2832
|
/**
|
|
2833
2833
|
* Triggers an alarm when the HTTP API Gateway error rate (percentage of 4xx/5xx responses) exceeds the threshold.
|
|
2834
2834
|
*/
|
|
2835
|
-
constructor(properties: HttpApiGatewayErrorRateTriggerProps);
|
|
2835
|
+
constructor(properties: import('./plain').HttpApiGatewayErrorRateTriggerProps);
|
|
2836
2836
|
readonly type: 'http-api-gateway-error-rate';
|
|
2837
2837
|
}
|
|
2838
2838
|
|
|
@@ -2840,7 +2840,7 @@ export declare class HttpApiGatewayLatencyTrigger extends BaseTypeProperties {
|
|
|
2840
2840
|
/**
|
|
2841
2841
|
* Triggers an alarm when HTTP API Gateway latency exceeds the threshold. Latency is measured from request receipt to response sent.
|
|
2842
2842
|
*/
|
|
2843
|
-
constructor(properties: HttpApiGatewayLatencyTriggerProps);
|
|
2843
|
+
constructor(properties: import('./plain').HttpApiGatewayLatencyTriggerProps);
|
|
2844
2844
|
readonly type: 'http-api-gateway-latency';
|
|
2845
2845
|
}
|
|
2846
2846
|
|
|
@@ -2848,7 +2848,7 @@ export declare class RelationalDatabaseReadLatencyTrigger extends BaseTypeProper
|
|
|
2848
2848
|
/**
|
|
2849
2849
|
* Triggers an alarm when database read latency (average time for read I/O operations) exceeds the threshold.
|
|
2850
2850
|
*/
|
|
2851
|
-
constructor(properties: RelationalDatabaseReadLatencyTriggerProps);
|
|
2851
|
+
constructor(properties: import('./plain').RelationalDatabaseReadLatencyTriggerProps);
|
|
2852
2852
|
readonly type: 'database-read-latency';
|
|
2853
2853
|
}
|
|
2854
2854
|
|
|
@@ -2856,7 +2856,7 @@ export declare class RelationalDatabaseWriteLatencyTrigger extends BaseTypePrope
|
|
|
2856
2856
|
/**
|
|
2857
2857
|
* Triggers an alarm when database write latency (average time for write I/O operations) exceeds the threshold.
|
|
2858
2858
|
*/
|
|
2859
|
-
constructor(properties: RelationalDatabaseWriteLatencyTriggerProps);
|
|
2859
|
+
constructor(properties: import('./plain').RelationalDatabaseWriteLatencyTriggerProps);
|
|
2860
2860
|
readonly type: 'database-write-latency';
|
|
2861
2861
|
}
|
|
2862
2862
|
|
|
@@ -2864,7 +2864,7 @@ export declare class RelationalDatabaseCPUUtilizationTrigger extends BaseTypePro
|
|
|
2864
2864
|
/**
|
|
2865
2865
|
* Triggers an alarm when database CPU utilization exceeds the threshold percentage.
|
|
2866
2866
|
*/
|
|
2867
|
-
constructor(properties: RelationalDatabaseCPUUtilizationTriggerProps);
|
|
2867
|
+
constructor(properties: import('./plain').RelationalDatabaseCPUUtilizationTriggerProps);
|
|
2868
2868
|
readonly type: 'database-cpu-utilization';
|
|
2869
2869
|
}
|
|
2870
2870
|
|
|
@@ -2872,7 +2872,7 @@ export declare class RelationalDatabaseFreeStorageTrigger extends BaseTypeProper
|
|
|
2872
2872
|
/**
|
|
2873
2873
|
* Triggers an alarm when available database storage falls below the threshold (in MB).
|
|
2874
2874
|
*/
|
|
2875
|
-
constructor(properties: RelationalDatabaseFreeStorageTriggerProps);
|
|
2875
|
+
constructor(properties: import('./plain').RelationalDatabaseFreeStorageTriggerProps);
|
|
2876
2876
|
readonly type: 'database-free-storage';
|
|
2877
2877
|
}
|
|
2878
2878
|
|
|
@@ -2880,7 +2880,7 @@ export declare class RelationalDatabaseFreeMemoryTrigger extends BaseTypePropert
|
|
|
2880
2880
|
/**
|
|
2881
2881
|
* Triggers an alarm when available database memory falls below the threshold (in MB).
|
|
2882
2882
|
*/
|
|
2883
|
-
constructor(properties: RelationalDatabaseFreeMemoryTriggerProps);
|
|
2883
|
+
constructor(properties: import('./plain').RelationalDatabaseFreeMemoryTriggerProps);
|
|
2884
2884
|
readonly type: 'database-free-memory';
|
|
2885
2885
|
}
|
|
2886
2886
|
|
|
@@ -2888,7 +2888,7 @@ export declare class RelationalDatabaseConnectionCountTrigger extends BaseTypePr
|
|
|
2888
2888
|
/**
|
|
2889
2889
|
* Triggers an alarm when the number of database connections exceeds the threshold.
|
|
2890
2890
|
*/
|
|
2891
|
-
constructor(properties: RelationalDatabaseConnectionCountTriggerProps);
|
|
2891
|
+
constructor(properties: import('./plain').RelationalDatabaseConnectionCountTriggerProps);
|
|
2892
2892
|
readonly type: 'database-connection-count';
|
|
2893
2893
|
}
|
|
2894
2894
|
|
|
@@ -2896,7 +2896,7 @@ export declare class SqsQueueReceivedMessagesCountTrigger extends BaseTypeProper
|
|
|
2896
2896
|
/**
|
|
2897
2897
|
* Triggers an alarm when the number of messages received from an SQS queue crosses the threshold.
|
|
2898
2898
|
*/
|
|
2899
|
-
constructor(properties: SqsQueueReceivedMessagesCountTriggerProps);
|
|
2899
|
+
constructor(properties: import('./plain').SqsQueueReceivedMessagesCountTriggerProps);
|
|
2900
2900
|
readonly type: 'sqs-queue-received-messages-count';
|
|
2901
2901
|
}
|
|
2902
2902
|
|
|
@@ -2912,7 +2912,7 @@ export declare class LambdaErrorRateTrigger extends BaseTypeProperties {
|
|
|
2912
2912
|
/**
|
|
2913
2913
|
* Triggers an alarm when the Lambda function error rate (percentage of failed invocations) exceeds the threshold.
|
|
2914
2914
|
*/
|
|
2915
|
-
constructor(properties: LambdaErrorRateTriggerProps);
|
|
2915
|
+
constructor(properties: import('./plain').LambdaErrorRateTriggerProps);
|
|
2916
2916
|
readonly type: 'lambda-error-rate';
|
|
2917
2917
|
}
|
|
2918
2918
|
|
|
@@ -2920,7 +2920,7 @@ export declare class LambdaDurationTrigger extends BaseTypeProperties {
|
|
|
2920
2920
|
/**
|
|
2921
2921
|
* Triggers an alarm when Lambda function execution duration exceeds the threshold (in milliseconds).
|
|
2922
2922
|
*/
|
|
2923
|
-
constructor(properties: LambdaDurationTriggerProps);
|
|
2923
|
+
constructor(properties: import('./plain').LambdaDurationTriggerProps);
|
|
2924
2924
|
readonly type: 'lambda-duration';
|
|
2925
2925
|
}
|
|
2926
2926
|
|
|
@@ -2934,7 +2934,7 @@ export declare class CustomResourceDefinition extends BaseTypeProperties {
|
|
|
2934
2934
|
* This allows you to create resources that are not natively supported by AWS CloudFormation or to provision services from other cloud providers.
|
|
2935
2935
|
* The logic is implemented in an AWS Lambda function that is executed during `create`, `update`, and `delete` events.
|
|
2936
2936
|
*/
|
|
2937
|
-
constructor(properties: CustomResourceDefinitionProps);
|
|
2937
|
+
constructor(properties: import('./plain').CustomResourceDefinitionProps);
|
|
2938
2938
|
readonly type: 'custom-resource-definition';
|
|
2939
2939
|
}
|
|
2940
2940
|
|
|
@@ -2947,7 +2947,7 @@ export declare class CustomResourceInstance extends BaseTypeProperties {
|
|
|
2947
2947
|
* Creates an instance of a `custom-resource-definition`.
|
|
2948
2948
|
* This is useful for creating resources that are not natively supported by AWS CloudFormation or for provisioning services from other providers.
|
|
2949
2949
|
*/
|
|
2950
|
-
constructor(properties: CustomResourceInstanceProps);
|
|
2950
|
+
constructor(properties: import('./plain').CustomResourceInstanceProps);
|
|
2951
2951
|
readonly type: 'custom-resource-instance';
|
|
2952
2952
|
}
|
|
2953
2953
|
|
|
@@ -2960,7 +2960,7 @@ export declare class DeploymentScript extends BaseTypeProperties {
|
|
|
2960
2960
|
* The script is executed in a Lambda function during a `deploy` or `delete` operation.
|
|
2961
2961
|
* This is useful for tasks like database migrations, seeding data, or other setup or teardown operations.
|
|
2962
2962
|
*/
|
|
2963
|
-
constructor(properties: DeploymentScriptProps);
|
|
2963
|
+
constructor(properties: import('./plain').DeploymentScriptProps);
|
|
2964
2964
|
readonly type: 'deployment-script';
|
|
2965
2965
|
}
|
|
2966
2966
|
|
|
@@ -2973,7 +2973,7 @@ export declare class EdgeLambdaFunction extends BaseTypeProperties {
|
|
|
2973
2973
|
* Edge Lambda functions are designed to be executed by a Content Delivery Network (CDN) in response to CDN events.
|
|
2974
2974
|
* They allow you to customize the content delivered through the CDN, enabling things like header manipulation, URL rewrites, and A/B testing.
|
|
2975
2975
|
*/
|
|
2976
|
-
constructor(properties: EdgeLambdaFunctionProps);
|
|
2976
|
+
constructor(properties: import('./plain').EdgeLambdaFunctionProps);
|
|
2977
2977
|
readonly type: 'edge-lambda-function';
|
|
2978
2978
|
}
|
|
2979
2979
|
|
|
@@ -2983,7 +2983,7 @@ export declare class EdgeLambdaFunction extends BaseTypeProperties {
|
|
|
2983
2983
|
|
|
2984
2984
|
// Re-export StacktapeConfig with properly typed resources
|
|
2985
2985
|
// Accepts both class instances and plain objects
|
|
2986
|
-
import type { StacktapeResourceDefinition } from './
|
|
2986
|
+
import type { StacktapeResourceDefinition } from './plain';
|
|
2987
2987
|
|
|
2988
2988
|
/**
|
|
2989
2989
|
* CloudFormation template structure
|
|
@@ -3000,7 +3000,7 @@ export type CloudFormationTemplate = {
|
|
|
3000
3000
|
Hooks?: Record<string, unknown>;
|
|
3001
3001
|
};
|
|
3002
3002
|
|
|
3003
|
-
export type StacktapeConfig = Omit<import('./
|
|
3003
|
+
export type StacktapeConfig = Omit<import('./plain').StacktapeConfig, 'resources' | 'cloudformationResources' | 'scripts'> & {
|
|
3004
3004
|
resources: { [resourceName: string]: RelationalDatabase | WebService | PrivateService | WorkerService | MultiContainerWorkload | LambdaFunction | BatchJob | Bucket | HostingBucket | DynamoDbTable | EventBus | HttpApiGateway | ApplicationLoadBalancer | NetworkLoadBalancer | RedisCluster | MongoDbAtlasCluster | StateMachine | UserAuthPool | UpstashRedis | SqsQueue | SnsTopic | WebAppFirewall | OpenSearchDomain | EfsFilesystem | NextjsWeb | Bastion | StacktapeResourceDefinition };
|
|
3005
3005
|
/**
|
|
3006
3006
|
* #### Scripts that can be executed using the `stacktape script:run` command.
|
|
@@ -3009,7 +3009,7 @@ export type StacktapeConfig = Omit<import('./sdk').StacktapeConfig, 'resources'
|
|
|
3009
3009
|
*
|
|
3010
3010
|
* Scripts can be either shell commands or files written in JavaScript, TypeScript, or Python.
|
|
3011
3011
|
*/
|
|
3012
|
-
scripts?: { [scriptName: string]: LocalScript | BastionScript | LocalScriptWithBastionTunneling | import('./
|
|
3012
|
+
scripts?: { [scriptName: string]: LocalScript | BastionScript | LocalScriptWithBastionTunneling | import('./plain').LocalScript | import('./plain').BastionScript | import('./plain').LocalScriptWithBastionTunneling };
|
|
3013
3013
|
/**
|
|
3014
3014
|
* #### Raw CloudFormation resources that will be deployed in this stack.
|
|
3015
3015
|
*
|
|
@@ -3076,62 +3076,62 @@ export declare const REFERENCEABLE_PARAMS: Record<string, Array<{
|
|
|
3076
3076
|
* Plain resources section type (YAML-equivalent).
|
|
3077
3077
|
* Use this with GetConfigFunction for legacy configs.
|
|
3078
3078
|
*/
|
|
3079
|
-
export type StacktapeResourcesPlain = import('./
|
|
3079
|
+
export type StacktapeResourcesPlain = import('./plain').StacktapeConfig['resources'];
|
|
3080
3080
|
|
|
3081
3081
|
/**
|
|
3082
3082
|
* Plain scripts section type (YAML-equivalent).
|
|
3083
3083
|
* Use this with GetConfigFunction for legacy configs.
|
|
3084
3084
|
*/
|
|
3085
|
-
export type StacktapeScriptsPlain = import('./
|
|
3085
|
+
export type StacktapeScriptsPlain = import('./plain').StacktapeConfig['scripts'];
|
|
3086
3086
|
|
|
3087
3087
|
/**
|
|
3088
3088
|
* Plain hooks section type.
|
|
3089
3089
|
*/
|
|
3090
|
-
export type StacktapeHooksPlain = import('./
|
|
3090
|
+
export type StacktapeHooksPlain = import('./plain').Hooks;
|
|
3091
3091
|
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Plain deployment config section type.
|
|
3094
3094
|
*/
|
|
3095
|
-
export type StacktapeDeploymentConfigPlain = import('./
|
|
3095
|
+
export type StacktapeDeploymentConfigPlain = import('./plain').DeploymentConfig;
|
|
3096
3096
|
|
|
3097
3097
|
/**
|
|
3098
3098
|
* Plain stack config section type.
|
|
3099
3099
|
*/
|
|
3100
|
-
export type StacktapeStackConfigPlain = import('./
|
|
3100
|
+
export type StacktapeStackConfigPlain = import('./plain').StackConfig;
|
|
3101
3101
|
|
|
3102
3102
|
/**
|
|
3103
3103
|
* Plain cloudformation resources section type.
|
|
3104
3104
|
*/
|
|
3105
|
-
export type StacktapeCloudformationResourcesPlain = import('./
|
|
3105
|
+
export type StacktapeCloudformationResourcesPlain = import('./plain').StacktapeConfig['cloudformationResources'];
|
|
3106
3106
|
|
|
3107
3107
|
/**
|
|
3108
3108
|
* Plain stack outputs type (stackConfig.outputs).
|
|
3109
3109
|
*/
|
|
3110
|
-
export type StacktapeOutputsPlain = import('./
|
|
3110
|
+
export type StacktapeOutputsPlain = import('./plain').StackConfig['outputs'];
|
|
3111
3111
|
|
|
3112
3112
|
/**
|
|
3113
3113
|
* Plain variables section type.
|
|
3114
3114
|
*/
|
|
3115
|
-
export type StacktapeVariablesPlain = import('./
|
|
3115
|
+
export type StacktapeVariablesPlain = import('./plain').StacktapeConfig['variables'];
|
|
3116
3116
|
|
|
3117
3117
|
/**
|
|
3118
3118
|
* Plain provider config section type.
|
|
3119
3119
|
*/
|
|
3120
|
-
export type StacktapeProviderConfigPlain = import('./
|
|
3120
|
+
export type StacktapeProviderConfigPlain = import('./plain').StacktapeConfig['providerConfig'];
|
|
3121
3121
|
|
|
3122
3122
|
/**
|
|
3123
3123
|
* Plain budget control section type.
|
|
3124
3124
|
*/
|
|
3125
|
-
export type StacktapeBudgetControlPlain = import('./
|
|
3125
|
+
export type StacktapeBudgetControlPlain = import('./plain').BudgetControl;
|
|
3126
3126
|
|
|
3127
3127
|
/**
|
|
3128
3128
|
* Plain directives section type.
|
|
3129
3129
|
*/
|
|
3130
|
-
export type StacktapeDirectivesPlain = import('./
|
|
3130
|
+
export type StacktapeDirectivesPlain = import('./plain').StacktapeConfig['directives'];
|
|
3131
3131
|
|
|
3132
3132
|
/**
|
|
3133
3133
|
* Function type for plain config (legacy getConfig pattern).
|
|
3134
3134
|
* Returns plain objects (YAML-equivalent), no class instances.
|
|
3135
3135
|
*/
|
|
3136
|
-
export type GetConfigFunction = (params: GetConfigParams) => import('./
|
|
3136
|
+
export type GetConfigFunction = (params: GetConfigParams) => import('./plain').StacktapeConfig;
|
|
3137
3137
|
|