@lafken/common 0.11.14 → 0.11.16

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.
@@ -189,6 +189,39 @@ export interface LambdaProps {
189
189
  * Requires specifying at least one subnet and one security group.
190
190
  */
191
191
  vpcConfig?: VpcConfigValue;
192
+ /**
193
+ * Ephemeral storage size for the Lambda function.
194
+ *
195
+ * Specifies the size of the `/tmp` directory in MB. Useful for functions that
196
+ * need to process large files (PDFs, ZIPs, audio, etc.) during execution.
197
+ *
198
+ * Valid range: 512–10240 MB.
199
+ *
200
+ * @default 512
201
+ */
202
+ ephemeralStorage?: number;
203
+ /**
204
+ * Reserved concurrency for the Lambda function.
205
+ *
206
+ * Limits the maximum number of concurrent executions for this function.
207
+ * Setting this to `0` throttles the function entirely. Useful for protecting
208
+ * downstream resources (RDS, ElastiCache) from burst traffic or for
209
+ * guaranteeing capacity to critical functions.
210
+ *
211
+ * When not set, the function shares the account's unreserved concurrency pool.
212
+ */
213
+ reservedConcurrency?: number;
214
+ /**
215
+ * Instruction set architecture for the Lambda function.
216
+ *
217
+ * Specifies the CPU architecture that the Lambda function will run on.
218
+ * - `'x86_64'`: 64-bit x86 architecture (default AWS behaviour).
219
+ * - `'arm64'`: 64-bit ARM architecture (AWS Graviton2), which can offer
220
+ * better price-performance for many workloads.
221
+ *
222
+ * @default 'x86_64'
223
+ */
224
+ architecture?: 'x86_64' | 'arm64';
192
225
  /**
193
226
  * Alias configuration for the Lambda function.
194
227
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lafken/common",
3
- "version": "0.11.14",
3
+ "version": "0.11.16",
4
4
  "private": false,
5
5
  "description": "Lafken utilities - TypeScript decorator factories and metadata reflection for infrastructure-as-code decorators",
6
6
  "keywords": [