@awsless/awsless 0.0.463 → 0.0.464
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/dist/bin.js +18 -13
- package/dist/build-json-schema.js +14 -10
- package/dist/prebuild/rpc/bundle.zip +0 -0
- package/dist/server.js +5 -0
- package/dist/stack.json +1 -1
- package/package.json +4 -4
package/dist/bin.js
CHANGED
|
@@ -1409,16 +1409,20 @@ var TablesSchema = z28.record(
|
|
|
1409
1409
|
indexes: z28.record(
|
|
1410
1410
|
z28.string(),
|
|
1411
1411
|
z28.object({
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
sort: KeySchema.optional()
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1412
|
+
hash: KeySchema.describe(
|
|
1413
|
+
"Specifies the name of the partition / hash key that makes up the primary key for the global secondary index."
|
|
1414
|
+
),
|
|
1415
|
+
sort: KeySchema.optional().describe(
|
|
1416
|
+
"Specifies the name of the range / sort key that makes up the primary key for the global secondary index."
|
|
1417
|
+
),
|
|
1418
|
+
projection: z28.enum(["all", "keys-only"]).default("all").describe(
|
|
1419
|
+
[
|
|
1420
|
+
"The set of attributes that are projected into the index:",
|
|
1421
|
+
"- all - All of the table attributes are projected into the index.",
|
|
1422
|
+
"- keys-only - Only the index and primary keys are projected into the index.",
|
|
1423
|
+
'@default "all"'
|
|
1424
|
+
].join("\n")
|
|
1425
|
+
)
|
|
1422
1426
|
})
|
|
1423
1427
|
).optional().describe("Specifies the global secondary indexes to be created on the table.")
|
|
1424
1428
|
})
|
|
@@ -2720,8 +2724,8 @@ var createLambdaFunction = (group, ctx, ns, id, local) => {
|
|
|
2720
2724
|
loggingConfig: {
|
|
2721
2725
|
logGroup: `/aws/lambda/${name}`,
|
|
2722
2726
|
logFormat: logFormats[props.log.format],
|
|
2723
|
-
applicationLogLevel: props.log.level?.toUpperCase(),
|
|
2724
|
-
systemLogLevel: props.log.system?.toUpperCase()
|
|
2727
|
+
applicationLogLevel: props.log.format === "json" ? props.log.level?.toUpperCase() : void 0,
|
|
2728
|
+
systemLogLevel: props.log.format === "json" ? props.log.system?.toUpperCase() : void 0
|
|
2725
2729
|
}
|
|
2726
2730
|
},
|
|
2727
2731
|
{
|
|
@@ -3287,7 +3291,8 @@ var pubsubFeature = defineFeature({
|
|
|
3287
3291
|
name,
|
|
3288
3292
|
authorizerFunctionArn: lambda.arn,
|
|
3289
3293
|
status: "ACTIVE",
|
|
3290
|
-
signingDisabled: true
|
|
3294
|
+
signingDisabled: true,
|
|
3295
|
+
enableCachingForHttp: false
|
|
3291
3296
|
});
|
|
3292
3297
|
new $9.aws.lambda.Permission(group, "permission", {
|
|
3293
3298
|
functionName: lambda.functionName,
|
|
@@ -996,16 +996,20 @@ var TablesSchema = z28.record(
|
|
|
996
996
|
indexes: z28.record(
|
|
997
997
|
z28.string(),
|
|
998
998
|
z28.object({
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
sort: KeySchema.optional()
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
999
|
+
hash: KeySchema.describe(
|
|
1000
|
+
"Specifies the name of the partition / hash key that makes up the primary key for the global secondary index."
|
|
1001
|
+
),
|
|
1002
|
+
sort: KeySchema.optional().describe(
|
|
1003
|
+
"Specifies the name of the range / sort key that makes up the primary key for the global secondary index."
|
|
1004
|
+
),
|
|
1005
|
+
projection: z28.enum(["all", "keys-only"]).default("all").describe(
|
|
1006
|
+
[
|
|
1007
|
+
"The set of attributes that are projected into the index:",
|
|
1008
|
+
"- all - All of the table attributes are projected into the index.",
|
|
1009
|
+
"- keys-only - Only the index and primary keys are projected into the index.",
|
|
1010
|
+
'@default "all"'
|
|
1011
|
+
].join("\n")
|
|
1012
|
+
)
|
|
1009
1013
|
})
|
|
1010
1014
|
).optional().describe("Specifies the global secondary indexes to be created on the table.")
|
|
1011
1015
|
})
|
|
Binary file
|