@awsless/awsless 0.0.162 → 0.0.164
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/README.MD +2 -0
- package/dist/app.json +1 -1
- package/dist/bin.js +18 -10
- package/dist/features/cognito-client-secret/bundle.zip +0 -0
- package/dist/features/delete-bucket/bundle.zip +0 -0
- package/dist/features/delete-hosted-zone/bundle.zip +0 -0
- package/dist/features/global-exports/bundle.zip +0 -0
- package/dist/features/invalidate-cache/bundle.zip +0 -0
- package/dist/features/upload-bucket-asset/bundle.zip +0 -0
- package/dist/index.d.ts +282 -0
- package/dist/json.js +2 -0
- package/dist/stack.json +1 -1
- package/package.json +2 -2
package/dist/json.js
CHANGED
|
@@ -225,6 +225,7 @@ var VPCSchema = z5.boolean().describe("Put the function inside your global VPC."
|
|
|
225
225
|
var MinifySchema = z5.boolean().describe("Minify the function code.");
|
|
226
226
|
var HandlerSchema = z5.string().describe("The name of the exported method within your code that Lambda calls to run your function.");
|
|
227
227
|
var FileSchema = LocalFileSchema.describe("The file path of the function code.");
|
|
228
|
+
var DescriptionSchema = z5.string().describe("A description of the function.");
|
|
228
229
|
var LogRetentionSchema = DurationSchema.refine(durationMin(Duration.days(1)), "Minimum log retention is 1 day");
|
|
229
230
|
var LogSchema = z5.union([
|
|
230
231
|
z5.boolean(),
|
|
@@ -248,6 +249,7 @@ var FunctionSchema = z5.union([
|
|
|
248
249
|
LocalFileSchema,
|
|
249
250
|
z5.object({
|
|
250
251
|
file: FileSchema,
|
|
252
|
+
description: DescriptionSchema.optional(),
|
|
251
253
|
handler: HandlerSchema.optional(),
|
|
252
254
|
minify: MinifySchema.optional(),
|
|
253
255
|
warm: WarmSchema.optional(),
|