stacktape 3.0.0-rc.11 → 3.0.0-rc.14

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 CHANGED
@@ -1,11 +1,102 @@
1
1
  /* eslint-disable */
2
2
  // @ts-nocheck
3
3
  // Generated file - Do not edit manually
4
- // Main export for 'stacktape'
5
- // For type-only imports, use: import type { X } from 'stacktape/types'
4
+ // Main export for 'stacktape' - classes, directives, defineConfig only
5
+ // For types, use: import type { X } from 'stacktape/types'
6
+
7
+ // Import types (NOT re-exported - use 'stacktape/types' for type imports)
8
+ import type {
9
+ BaseResource,
10
+ BaseTypeProperties,
11
+ GetConfigParams,
12
+ StacktapeConfig,
13
+ RelationalDatabasePropsWithOverrides,
14
+ WebServiceProps,
15
+ PrivateServiceProps,
16
+ WorkerServiceProps,
17
+ ContainerWorkloadProps,
18
+ LambdaFunctionProps,
19
+ BatchJobProps,
20
+ BucketPropsWithOverrides,
21
+ HostingBucketPropsWithOverrides,
22
+ DynamoDbTablePropsWithOverrides,
23
+ EventBusPropsWithOverrides,
24
+ HttpApiGatewayPropsWithOverrides,
25
+ ApplicationLoadBalancerPropsWithOverrides,
26
+ NetworkLoadBalancerPropsWithOverrides,
27
+ RedisClusterPropsWithOverrides,
28
+ MongoDbAtlasClusterPropsWithOverrides,
29
+ StateMachineProps,
30
+ UserAuthPoolPropsWithOverrides,
31
+ UpstashRedisPropsWithOverrides,
32
+ SqsQueuePropsWithOverrides,
33
+ SnsTopicPropsWithOverrides,
34
+ WebAppFirewallPropsWithOverrides,
35
+ OpenSearchDomainPropsWithOverrides,
36
+ EfsFilesystemPropsWithOverrides,
37
+ NextjsWebPropsWithOverrides,
38
+ BastionPropsWithOverrides,
39
+ RdsEngineProperties,
40
+ AuroraEngineProperties,
41
+ AuroraServerlessEngineProperties,
42
+ AuroraServerlessV2EngineProperties,
43
+ StpBuildpackLambdaPackagingProps,
44
+ CustomArtifactLambdaPackagingProps,
45
+ PrebuiltImageCwPackagingProps,
46
+ CustomDockerfileCwImagePackagingProps,
47
+ ExternalBuildpackCwImagePackagingProps,
48
+ NixpacksCwImagePackagingProps,
49
+ StpBuildpackCwImagePackagingProps,
50
+ HttpApiIntegrationProps,
51
+ S3IntegrationProps,
52
+ ScheduleIntegrationProps,
53
+ SnsIntegrationProps,
54
+ SqsIntegrationProps,
55
+ KinesisIntegrationProps,
56
+ DynamoDbIntegrationProps,
57
+ CloudwatchLogIntegrationProps,
58
+ ApplicationLoadBalancerIntegrationProps,
59
+ EventBusIntegrationProps,
60
+ KafkaTopicIntegrationProps,
61
+ AlarmIntegrationProps,
62
+ IotIntegrationProps,
63
+ CdnLoadBalancerOrigin,
64
+ CdnHttpApiGatewayOrigin,
65
+ CdnLambdaFunctionOrigin,
66
+ CdnCustomOrigin,
67
+ CdnBucketOrigin,
68
+ ManagedRuleGroupProps,
69
+ CustomRuleGroupProps,
70
+ RateBasedStatementProps,
71
+ SqsQueueEventBusIntegrationProps,
72
+ ContainerWorkloadHttpApiIntegrationProps,
73
+ ContainerWorkloadLoadBalancerIntegrationProps,
74
+ ContainerWorkloadNetworkLoadBalancerIntegrationProps,
75
+ ContainerWorkloadInternalIntegrationProps,
76
+ ContainerWorkloadServiceConnectIntegrationProps,
77
+ LocalScriptProps,
78
+ BastionScriptProps,
79
+ LocalScriptWithBastionTunnelingProps,
80
+ HttpEndpointLogForwardingProps,
81
+ HighlightLogForwardingProps,
82
+ DatadogLogForwardingProps,
83
+ ExpirationProps,
84
+ NonCurrentVersionExpirationProps,
85
+ ContainerEfsMountProps,
86
+ LambdaEfsMountProps,
87
+ CognitoAuthorizerProperties,
88
+ LambdaAuthorizerProperties,
89
+ CustomResourceDefinitionProps,
90
+ CustomResourceInstanceProps,
91
+ DeploymentScriptProps,
92
+ EdgeLambdaFunctionProps
93
+ } from './types';
6
94
 
7
- // Re-export types (needed for class constructor type resolution)
8
- export * from './types';
95
+ // ==========================================
96
+ // DEFINE CONFIG
97
+ // ==========================================
98
+
99
+ export declare const defineConfig: (configFn: (params: GetConfigParams) => StacktapeConfig) => (params: GetConfigParams) => any;
9
100
 
10
101
  // ==========================================
11
102
  // RESOURCE CLASS DECLARATIONS
@@ -93,9 +184,13 @@ export declare class MultiContainerWorkload extends BaseResource {
93
184
  /** Log group ARN */
94
185
  readonly logGroupArn: string;
95
186
  }
96
- export declare class Function extends BaseResource {
187
+ export declare class LambdaFunction extends BaseResource {
97
188
  /**
98
- * Create a Function resource
189
+ * #### A serverless compute resource that runs your code in response to events.
190
+ *
191
+ * ---
192
+ *
193
+ * Lambda functions are short-lived, stateless, and scale automatically. You only pay for the compute time you consume.
99
194
  */
100
195
  constructor(properties: LambdaFunctionProps);
101
196
  constructor(name: string, properties: LambdaFunctionProps);